Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise",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.00114/0.00114, allocations: 108 kB / 16.41 MB, free: 6.039 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.00106/0.00106, allocations: 191.9 kB / 17.34 MB, free: 5.629 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.288/1.288, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7338/0.7338, allocations: 122.8 MB / 414 MB, free: 15.86 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001186, allocations: 68.48 kB / 0.5679 GB, free: 29.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.126/0.1272, allocations: 77.93 MB / 0.6441 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4814/0.6087, allocations: 168.2 MB / 0.8084 GB, free: 11.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01849/0.6272, allocations: 17.08 MB / 0.825 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002041/0.6293, allocations: 25.31 kB / 0.8251 GB, free: 7.699 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001966/0.6313, allocations: 0.5618 MB / 0.8256 GB, free: 7.258 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00583/0.6372, allocations: 1.655 MB / 0.8272 GB, free: 6.238 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00396/0.6411, allocations: 1.332 MB / 0.8285 GB, free: 5.379 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004062/0.6452, allocations: 2.702 MB / 0.8312 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003036/0.6483, allocations: 1.872 MB / 0.833 GB, free: 2.582 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003887/0.6522, allocations: 1.4 MB / 0.8344 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001577/0.6538, allocations: 0.9827 MB / 0.8353 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005423/0.6543, allocations: 205.7 kB / 0.8355 GB, free: 1.215 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003015/0.6573, allocations: 1.427 MB / 0.8369 GB, free: 0.6562 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.000642/0.658, allocations: 0.5497 MB / 0.8374 GB, free: 248 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001529/0.6595, allocations: 1.041 MB / 0.8385 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004739/0.6643, allocations: 3.135 MB / 0.8415 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.898e-06/0.6643, allocations: 0 / 0.8415 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6643, allocations: 2.406 kB / 0.8415 GB, free: 13.46 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.941e-05/0.6644, allocations: 0 / 0.8415 GB, free: 13.46 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.00417/0.6686, allocations: 2.341 MB / 0.8438 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.6686, allocations: 14.02 kB / 0.8438 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002692/0.6689, allocations: 253.7 kB / 0.8441 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003454/0.6724, allocations: 0.5176 MB / 0.8446 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001699/0.6741, allocations: 1.129 MB / 0.8457 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.335e-05/0.6742, allocations: 125.9 kB / 0.8458 GB, free: 10.35 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001938/0.6744, allocations: 169.7 kB / 0.846 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002967/0.6774, allocations: 1.854 MB / 0.8478 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.178e-05/0.6774, allocations: 0 / 0.8478 GB, free: 9.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001606/0.6776, allocations: 73.34 kB / 0.8478 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.655e-05/0.6776, allocations: 43.03 kB / 0.8479 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003102/0.6807, allocations: 1.877 MB / 0.8497 GB, free: 7.539 MB / 0.6075 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.007536/0.6883, allocations: 5.518 MB / 0.8551 GB, free: 1.742 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002953/0.6912, allocations: 1.763 MB / 0.8568 GB, free: 15.9 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00113/0.6924, allocations: 0.6515 MB / 0.8575 GB, free: 15.25 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008299/0.6932, allocations: 0.8062 MB / 0.8582 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001586/0.6948, allocations: 0.8918 MB / 0.8591 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 3.105e-06/0.6948, allocations: 4 kB / 0.8591 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006075/0.7009, allocations: 2.557 MB / 0.8616 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.701, allocations: 201.1 kB / 0.8618 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001072/0.7021, allocations: 0.8388 MB / 0.8626 GB, free: 9.598 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001377/0.7023, allocations: 53.7 kB / 0.8627 GB, free: 9.539 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.7028, allocations: 0.6649 MB / 0.8633 GB, free: 8.867 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003893/0.7032, allocations: 0.4933 MB / 0.8638 GB, free: 8.379 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003604/0.7036, allocations: 234.8 kB / 0.864 GB, free: 8.141 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.7037, allocations: 353.9 kB / 0.8644 GB, free: 7.789 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00102/0.7047, allocations: 474.4 kB / 0.8648 GB, free: 7.328 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/0.7058, allocations: 0.6418 MB / 0.8654 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002053/0.7079, allocations: 1.095 MB / 0.8665 GB, free: 5.543 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.571e-06/0.7079, allocations: 4 kB / 0.8665 GB, free: 5.539 MB / 0.6231 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003469/0.7114, allocations: 1.514 MB / 0.868 GB, free: 4.004 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.986e-05/0.7114, allocations: 4 kB / 0.868 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/0.7114, allocations: 0 / 0.868 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009104/0.7124, allocations: 188.2 kB / 0.8682 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001498/0.7139, allocations: 331.5 kB / 0.8685 GB, free: 3.477 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005661/0.7195, allocations: 7.289 MB / 0.8756 GB, free: 11.49 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001362/0.7209, allocations: 155.2 kB / 0.8758 GB, free: 11.34 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.721, allocations: 47.97 kB / 0.8758 GB, free: 11.29 MB / 0.6387 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 (148): * Single equations (assignments): 143 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0007468/0.7218, allocations: 377.4 kB / 0.8762 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002914/0.7221, allocations: 143.2 kB / 0.8763 GB, free: 10.77 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/0.7261, allocations: 1.847 MB / 0.8781 GB, free: 8.895 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.156e-05/0.7261, allocations: 12 kB / 0.8781 GB, free: 8.883 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.7261, allocations: 4 kB / 0.8781 GB, free: 8.879 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.438e-05/0.7261, allocations: 7.969 kB / 0.8781 GB, free: 8.871 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005925/0.7321, allocations: 3.44 MB / 0.8815 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.274e-06/0.7321, allocations: 0 / 0.8815 GB, free: 5.395 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001427/0.7335, allocations: 319.5 kB / 0.8818 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007275/0.7343, allocations: 180.1 kB / 0.882 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.079e-05/0.7344, allocations: 39.97 kB / 0.882 GB, free: 4.852 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005576/0.74, allocations: 7.325 MB / 0.8892 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.512e-06/0.74, allocations: 0 / 0.8892 GB, free: 12.82 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00381/0.7438, allocations: 1.717 MB / 0.8908 GB, free: 11.07 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007973/0.7446, allocations: 411.7 kB / 0.8912 GB, free: 10.64 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001863/0.7448, allocations: 35.89 kB / 0.8913 GB, free: 10.61 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/0.746, allocations: 104.6 kB / 0.8914 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002358/0.7462, allocations: 109.2 kB / 0.8915 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001412/0.7464, allocations: 71.94 kB / 0.8915 GB, free: 10.33 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0007969/0.7472, allocations: 0.5864 MB / 0.8921 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7472, allocations: 0 / 0.8921 GB, free: 9.734 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001537/0.7487, allocations: 0.5961 MB / 0.8927 GB, free: 9.137 MB / 0.6544 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 (149): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 4 systems {(1,2,100.0%), (1,2,100.0%), (1,2,100.0%), (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.005226/0.7539, allocations: 2.896 MB / 0.8955 GB, free: 6.414 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003143/0.7571, allocations: 1.836 MB / 0.8973 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.7571, allocations: 0.5625 kB / 0.8973 GB, free: 4.508 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001853/0.759, allocations: 1.317 MB / 0.8986 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002203/0.7612, allocations: 0.5261 MB / 0.8991 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01651/0.7777, allocations: 9.957 MB / 0.9088 GB, free: 8.496 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008744/0.7786, allocations: 1.3 MB / 0.9101 GB, free: 7.168 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001483/0.7801, allocations: 438.5 kB / 0.9105 GB, free: 6.734 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008841/0.781, allocations: 0.6476 MB / 0.9112 GB, free: 6.086 MB / 0.67 GB Notification: Performance of SimCode: time 9.61e-07/0.781, allocations: 0 / 0.9112 GB, free: 6.086 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07783/0.8589, allocations: 37.57 MB / 0.9478 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.51/14.37, allocations: 14.72 kB / 0.9479 GB, free: 0.8945 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise_res.csv --start-time 1.728e+07 --stop-time 1.78848e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 241.92 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)