Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.004115/0.004115, allocations: 102.9 kB / 15.74 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001161/0.001161, allocations: 196.7 kB / 16.68 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00236/0.00236, allocations: 281.5 kB / 290.8 MB, free: 14.44 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9268/0.9268, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002642/0.002642, allocations: 91.86 kB / 0.681 GB, free: 7.496 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3602/0.3629, allocations: 86.98 MB / 0.7659 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1701/0.533, allocations: 154 MB / 0.9163 GB, free: 9.254 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01365/0.5467, allocations: 10.5 MB / 0.9266 GB, free: 14.72 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005455/0.5473, allocations: 23.88 kB / 0.9266 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0007595/0.5481, allocations: 269.8 kB / 0.9268 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/0.5503, allocations: 0.9191 MB / 0.9277 GB, free: 13.52 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002174/0.5524, allocations: 1.079 MB / 0.9288 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001558/0.554, allocations: 1.64 MB / 0.9304 GB, free: 10.8 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001379/0.5554, allocations: 1.186 MB / 0.9315 GB, free: 9.586 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001518/0.5569, allocations: 0.7003 MB / 0.9322 GB, free: 8.898 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006885/0.5576, allocations: 0.6106 MB / 0.9328 GB, free: 8.285 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0001876/0.5578, allocations: 136 kB / 0.933 GB, free: 8.152 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001643/0.5595, allocations: 1.026 MB / 0.934 GB, free: 7.125 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000339/0.5598, allocations: 382.8 kB / 0.9343 GB, free: 6.75 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0006/0.5604, allocations: 0.6684 MB / 0.935 GB, free: 6.078 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002464/0.5629, allocations: 2.215 MB / 0.9371 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.5629, allocations: 0 / 0.9371 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.122e-06/0.5629, allocations: 7.938 kB / 0.9371 GB, free: 3.848 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.231e-05/0.5629, allocations: 0 / 0.9371 GB, free: 3.848 MB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 245 * Number of variables: 245 Notification: Performance of Generate backend data structure: time 0.002802/0.5657, allocations: 1.77 MB / 0.9389 GB, free: 2.02 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.5658, allocations: 8.031 kB / 0.9389 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000175/0.566, allocations: 152.1 kB / 0.939 GB, free: 1.855 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.5674, allocations: 282.9 kB / 0.9393 GB, free: 1.578 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001436/0.5689, allocations: 1.086 MB / 0.9404 GB, free: 460 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.959e-05/0.5689, allocations: 70 kB / 0.9404 GB, free: 388 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001287/0.5691, allocations: 96 kB / 0.9405 GB, free: 292 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00192/0.571, allocations: 1.114 MB / 0.9416 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.142e-05/0.571, allocations: 0 / 0.9416 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.13e-05/0.5711, allocations: 36 kB / 0.9416 GB, free: 15.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.339e-05/0.5712, allocations: 28 kB / 0.9417 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002294/0.5735, allocations: 1.323 MB / 0.943 GB, free: 13.74 MB / 0.7169 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004832/0.5783, allocations: 3.25 MB / 0.9461 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001968/0.5803, allocations: 1.114 MB / 0.9472 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000771/0.5811, allocations: 422.1 kB / 0.9476 GB, free: 8.844 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002386/0.5813, allocations: 149.9 kB / 0.9478 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001095/0.5824, allocations: 0.6099 MB / 0.9484 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=95): time 4.468e-06/0.5824, allocations: 0 / 0.9484 GB, free: 8.051 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95): time 0.003964/0.5864, allocations: 1.636 MB / 0.95 GB, free: 6.363 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.5865, allocations: 204.8 kB / 0.9502 GB, free: 6.121 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001188/0.5877, allocations: 1.017 MB / 0.9511 GB, free: 5.098 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.5878, allocations: 45.7 kB / 0.9512 GB, free: 5.047 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.000411/0.5882, allocations: 481.2 kB / 0.9516 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002593/0.5885, allocations: 325.2 kB / 0.952 GB, free: 4.25 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.5888, allocations: 170.6 kB / 0.9521 GB, free: 4.078 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001482/0.5889, allocations: 337.9 kB / 0.9524 GB, free: 3.742 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006925/0.5896, allocations: 329.8 kB / 0.9528 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008292/0.5905, allocations: 477.1 kB / 0.9532 GB, free: 2.918 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.592, allocations: 0.7648 MB / 0.954 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.592, allocations: 0 / 0.954 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002335/0.5943, allocations: 1.041 MB / 0.955 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.5943, allocations: 8.062 kB / 0.955 GB, free: 1.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/0.5943, allocations: 4 kB / 0.955 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006764/0.595, allocations: 109.6 kB / 0.9551 GB, free: 0.9609 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008417/0.5959, allocations: 207.7 kB / 0.9553 GB, free: 0.7578 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3177/0.9136, allocations: 3.055 MB / 0.9583 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009666/0.9146, allocations: 120.5 kB / 0.9584 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.257e-05/0.9147, allocations: 36.56 kB / 0.9584 GB, free: 185.9 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 15 (weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005227/0.9152, allocations: 301.9 kB / 0.9587 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002124/0.9154, allocations: 111.5 kB / 0.9588 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003096/0.9185, allocations: 1.32 MB / 0.9601 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.679e-05/0.9186, allocations: 17.97 kB / 0.9601 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.9186, allocations: 0.5938 kB / 0.9601 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.269e-05/0.9186, allocations: 5.812 kB / 0.9601 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003687/0.9223, allocations: 2.443 MB / 0.9625 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.12e-06/0.9223, allocations: 3.516 kB / 0.9625 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007705/0.9231, allocations: 185 kB / 0.9627 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005079/0.9236, allocations: 114 kB / 0.9628 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.21e-05/0.9237, allocations: 30.77 kB / 0.9628 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002062/0.9257, allocations: 3.09 MB / 0.9658 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.402e-06/0.9258, allocations: 4.188 kB / 0.9659 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002255/0.928, allocations: 1.241 MB / 0.9671 GB, free: 181 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.9284, allocations: 328.1 kB / 0.9674 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001259/0.9285, allocations: 24.84 kB / 0.9674 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00075/0.9293, allocations: 81.7 kB / 0.9675 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/0.9295, allocations: 81.56 kB / 0.9676 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.011e-05/0.9296, allocations: 42.94 kB / 0.9676 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007699/0.9303, allocations: 0.7498 MB / 0.9683 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9303, allocations: 0 / 0.9683 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001022/0.9314, allocations: 440.3 kB / 0.9688 GB, free: 180.3 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 97 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004034/0.9354, allocations: 2.409 MB / 0.9711 GB, free: 179.2 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001758/0.9372, allocations: 1.112 MB / 0.9722 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9372, allocations: 0 / 0.9722 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000991/0.9382, allocations: 0.7461 MB / 0.9729 GB, free: 178.3 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00119/0.9394, allocations: 348.4 kB / 0.9733 GB, free: 178.2 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01053/0.9499, allocations: 8.482 MB / 0.9815 GB, free: 171 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003986/0.9503, allocations: 1.107 MB / 0.9826 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008089/0.9512, allocations: 323.7 kB / 0.9829 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004829/0.9517, allocations: 463.2 kB / 0.9834 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of SimCode: time 4.41e-07/0.9517, allocations: 0 / 0.9834 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05523/1.007, allocations: 27.88 MB / 1.011 GB, free: 141.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.03/14.04, allocations: 14.58 kB / 1.011 GB, free: 141.6 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpData_Specification.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification.pipe 2>&1)