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.0066/0.006599, allocations: 100.6 kB / 15.73 MB, free: 6.02 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.001376/0.001376, allocations: 189.8 kB / 16.67 MB, free: 5.938 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.212/1.212, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001994/0.001994, allocations: 283 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.8658/0.8658, allocations: 169.3 MB / 0.4983 GB, free: 4.418 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001703/0.001703, allocations: 99.84 kB / 0.681 GB, free: 7.473 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3757/0.3774, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpData_Specification): time 0.1511/0.5286, allocations: 154 MB / 0.9163 GB, free: 9.234 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.01279/0.5414, allocations: 10.49 MB / 0.9265 GB, free: 14.71 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007507/0.5422, allocations: 23.88 kB / 0.9266 GB, free: 14.69 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0008875/0.5431, allocations: 277.8 kB / 0.9268 GB, free: 14.41 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002545/0.5457, allocations: 0.9419 MB / 0.9278 GB, free: 13.47 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.002352/0.548, allocations: 1.076 MB / 0.9288 GB, free: 12.41 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001754/0.5498, allocations: 1.648 MB / 0.9304 GB, free: 10.75 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.5513, allocations: 1.182 MB / 0.9316 GB, free: 9.543 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001778/0.5531, allocations: 0.7276 MB / 0.9323 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008056/0.5539, allocations: 0.6029 MB / 0.9329 GB, free: 8.223 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0002747/0.5542, allocations: 132 kB / 0.933 GB, free: 8.094 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001689/0.5559, allocations: 1.03 MB / 0.934 GB, free: 7.062 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0003847/0.5563, allocations: 378.8 kB / 0.9344 GB, free: 6.691 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0007412/0.5571, allocations: 0.6645 MB / 0.935 GB, free: 6.023 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.002611/0.5597, allocations: 2.215 MB / 0.9372 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.5597, allocations: 0 / 0.9372 GB, free: 3.801 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5597, allocations: 4 kB / 0.9372 GB, free: 3.797 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.748e-05/0.5597, allocations: 0 / 0.9372 GB, free: 3.797 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.002685/0.5624, allocations: 1.766 MB / 0.9389 GB, free: 1.973 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.739e-05/0.5625, allocations: 12.03 kB / 0.9389 GB, free: 1.961 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001542/0.5626, allocations: 156 kB / 0.9391 GB, free: 1.801 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001553/0.5642, allocations: 282.9 kB / 0.9393 GB, free: 1.523 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001327/0.5655, allocations: 1.082 MB / 0.9404 GB, free: 408 kB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.301e-05/0.5656, allocations: 74 kB / 0.9405 GB, free: 332 kB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001263/0.5657, allocations: 99.92 kB / 0.9406 GB, free: 232 kB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001824/0.5676, allocations: 1.11 MB / 0.9416 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.311e-05/0.5676, allocations: 0 / 0.9416 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.721e-05/0.5677, allocations: 44 kB / 0.9417 GB, free: 15.03 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.922e-05/0.5677, allocations: 28 kB / 0.9417 GB, free: 15 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002094/0.5698, allocations: 1.319 MB / 0.943 GB, free: 13.68 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.004453/0.5743, allocations: 3.254 MB / 0.9462 GB, free: 10.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001817/0.5761, allocations: 1.11 MB / 0.9473 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007251/0.5769, allocations: 417.5 kB / 0.9477 GB, free: 8.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002201/0.5771, allocations: 149.9 kB / 0.9478 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001038/0.5781, allocations: 0.6138 MB / 0.9484 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=95): time 2.134e-06/0.5781, allocations: 0 / 0.9484 GB, free: 7.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=95): time 0.003829/0.582, allocations: 1.636 MB / 0.95 GB, free: 6.301 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.5821, allocations: 196.9 kB / 0.9502 GB, free: 6.066 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001045/0.5831, allocations: 1.025 MB / 0.9512 GB, free: 5.035 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.006e-05/0.5832, allocations: 45.7 kB / 0.9512 GB, free: 4.984 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003277/0.5835, allocations: 477.2 kB / 0.9517 GB, free: 4.512 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002203/0.5838, allocations: 325.2 kB / 0.952 GB, free: 4.191 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.584, allocations: 166.6 kB / 0.9522 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5841, allocations: 337.9 kB / 0.9525 GB, free: 3.688 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006586/0.5848, allocations: 337.8 kB / 0.9528 GB, free: 3.355 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007596/0.5856, allocations: 473.1 kB / 0.9532 GB, free: 2.859 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001368/0.5869, allocations: 0.7648 MB / 0.954 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.5869, allocations: 0 / 0.954 GB, free: 2.086 MB / 0.7169 GB Notification: Performance of matching and sorting (n=104) (initialization): time 0.002211/0.5892, allocations: 1.037 MB / 0.955 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.5892, allocations: 16 kB / 0.955 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.051e-06/0.5892, allocations: 0 / 0.955 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006748/0.5899, allocations: 121.5 kB / 0.9551 GB, free: 0.8906 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008173/0.5907, allocations: 191.7 kB / 0.9553 GB, free: 0.7031 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3323/0.923, allocations: 3.062 MB / 0.9583 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001035/0.9241, allocations: 117.2 kB / 0.9584 GB, free: 185.9 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.948e-05/0.9242, allocations: 40.08 kB / 0.9585 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.0005832/0.9248, allocations: 302.6 kB / 0.9587 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002327/0.925, allocations: 109.1 kB / 0.9589 GB, free: 185.8 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003163/0.9282, allocations: 1.318 MB / 0.9601 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.44e-05/0.9282, allocations: 14.5 kB / 0.9602 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.9282, allocations: 0.5625 kB / 0.9602 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.268e-05/0.9283, allocations: 6.156 kB / 0.9602 GB, free: 185.5 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003886/0.9321, allocations: 2.44 MB / 0.9625 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.9322, allocations: 2.75 kB / 0.9625 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008032/0.933, allocations: 194.2 kB / 0.9627 GB, free: 184.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005119/0.9335, allocations: 102.5 kB / 0.9628 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.218e-05/0.9336, allocations: 30.5 kB / 0.9629 GB, free: 184.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002096/0.9357, allocations: 3.097 MB / 0.9659 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.9357, allocations: 0 / 0.9659 GB, free: 181.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002324/0.938, allocations: 1.241 MB / 0.9671 GB, free: 180.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004093/0.9384, allocations: 327 kB / 0.9674 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001324/0.9386, allocations: 26.28 kB / 0.9674 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007863/0.9394, allocations: 76.83 kB / 0.9675 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001678/0.9395, allocations: 87.58 kB / 0.9676 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.733e-05/0.9396, allocations: 44.27 kB / 0.9676 GB, free: 180.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.00078/0.9404, allocations: 0.7495 MB / 0.9684 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of sort global known variables: time 5.81e-07/0.9404, allocations: 0 / 0.9684 GB, free: 180.4 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001067/0.9415, allocations: 444 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.003727/0.9452, allocations: 2.403 MB / 0.9711 GB, free: 179.1 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001792/0.947, allocations: 1.116 MB / 0.9722 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.9471, allocations: 0 / 0.9722 GB, free: 178.7 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001036/0.9481, allocations: 0.7489 MB / 0.973 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.001278/0.9494, allocations: 347.8 kB / 0.9733 GB, free: 178.1 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01066/0.9601, allocations: 8.482 MB / 0.9816 GB, free: 171 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003839/0.9605, allocations: 1.104 MB / 0.9826 GB, free: 169.8 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0008054/0.9613, allocations: 323.7 kB / 0.983 GB, free: 169.5 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005043/0.9618, allocations: 463.2 kB / 0.9834 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of SimCode: time 4.81e-07/0.9618, allocations: 0 / 0.9834 GB, free: 169.1 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04857/1.01, allocations: 27.88 MB / 1.011 GB, free: 141.6 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.83/14.84, allocations: 14.5 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)