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.001364/0.001364, allocations: 105.3 kB / 16.41 MB, free: 6.047 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.001501/0.001501, allocations: 192.8 kB / 17.34 MB, free: 5.605 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7722/0.7722, allocations: 126.1 MB / 417.3 MB, free: 12.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 71.28 kB / 0.5726 GB, free: 27.56 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1219/0.1232, allocations: 78.7 MB / 0.6494 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4453/0.5685, allocations: 168.3 MB / 0.8138 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01848/0.587, allocations: 17.07 MB / 0.8304 GB, free: 4.027 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00164/0.5887, allocations: 29.53 kB / 0.8305 GB, free: 4.016 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001518/0.5902, allocations: 0.5671 MB / 0.831 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004567/0.5949, allocations: 1.639 MB / 0.8326 GB, free: 2.285 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003135/0.598, allocations: 1.337 MB / 0.8339 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002992/0.601, allocations: 2.697 MB / 0.8365 GB, free: 15.65 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002152/0.6032, allocations: 1.884 MB / 0.8384 GB, free: 14.39 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003756/0.6069, allocations: 1.388 MB / 0.8397 GB, free: 13.61 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001296/0.6083, allocations: 0.988 MB / 0.8407 GB, free: 12.94 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002588/0.6085, allocations: 210.1 kB / 0.8409 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002782/0.6113, allocations: 1.42 MB / 0.8423 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.6118, allocations: 0.554 MB / 0.8428 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001008/0.6128, allocations: 1.039 MB / 0.8438 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004079/0.6169, allocations: 3.134 MB / 0.8469 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.6169, allocations: 0 / 0.8469 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.6169, allocations: 0 / 0.8469 GB, free: 8.906 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.631e-05/0.617, allocations: 0 / 0.8469 GB, free: 8.906 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.003678/0.6207, allocations: 2.338 MB / 0.8492 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/0.6207, allocations: 10.44 kB / 0.8492 GB, free: 7.152 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002656/0.621, allocations: 252.9 kB / 0.8494 GB, free: 6.953 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003512/0.6245, allocations: 0.5177 MB / 0.8499 GB, free: 6.711 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001834/0.6264, allocations: 1.129 MB / 0.8511 GB, free: 5.828 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.281e-05/0.6265, allocations: 129.8 kB / 0.8512 GB, free: 5.77 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001881/0.6267, allocations: 174.4 kB / 0.8513 GB, free: 5.707 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003047/0.6297, allocations: 1.841 MB / 0.8531 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.956e-05/0.6298, allocations: 0 / 0.8531 GB, free: 3.965 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001592/0.6299, allocations: 83.98 kB / 0.8532 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.63, allocations: 40 kB / 0.8533 GB, free: 3.844 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003256/0.6332, allocations: 1.875 MB / 0.8551 GB, free: 1.965 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.007674/0.6409, allocations: 5.532 MB / 0.8605 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003116/0.6441, allocations: 1.76 MB / 0.8622 GB, free: 10.27 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001174/0.6453, allocations: 0.6437 MB / 0.8628 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008521/0.6461, allocations: 0.8117 MB / 0.8636 GB, free: 8.645 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001656/0.6478, allocations: 0.8841 MB / 0.8645 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 3.156e-06/0.6478, allocations: 0 / 0.8645 GB, free: 7.738 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006276/0.6541, allocations: 2.572 MB / 0.867 GB, free: 5.055 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.23e-05/0.6542, allocations: 193.2 kB / 0.8672 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001076/0.6553, allocations: 0.8388 MB / 0.868 GB, free: 3.961 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001322/0.6554, allocations: 61.62 kB / 0.8681 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004891/0.6559, allocations: 0.6538 MB / 0.8687 GB, free: 3.23 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003799/0.6563, allocations: 0.4996 MB / 0.8692 GB, free: 2.727 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000378/0.6567, allocations: 234.8 kB / 0.8694 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.6568, allocations: 353.9 kB / 0.8698 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001013/0.6578, allocations: 474.4 kB / 0.8702 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001167/0.659, allocations: 0.6379 MB / 0.8708 GB, free: 0.9961 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002175/0.6612, allocations: 1.099 MB / 0.8719 GB, free: 15.89 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.911e-06/0.6612, allocations: 4 kB / 0.8719 GB, free: 15.88 MB / 0.6387 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003505/0.6647, allocations: 1.507 MB / 0.8734 GB, free: 14.35 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.6648, allocations: 7.984 kB / 0.8734 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.6648, allocations: 0 / 0.8734 GB, free: 14.34 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009387/0.6657, allocations: 200.2 kB / 0.8736 GB, free: 14.13 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001523/0.6673, allocations: 323.6 kB / 0.8739 GB, free: 13.82 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005709/0.673, allocations: 7.284 MB / 0.881 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001314/0.6743, allocations: 147.2 kB / 0.8811 GB, free: 5.688 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001181/0.6745, allocations: 55.95 kB / 0.8812 GB, free: 5.633 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.0007119/0.6752, allocations: 380.8 kB / 0.8816 GB, free: 5.254 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002905/0.6755, allocations: 143.2 kB / 0.8817 GB, free: 5.113 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00417/0.6797, allocations: 1.846 MB / 0.8835 GB, free: 3.238 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.254e-05/0.6797, allocations: 16 kB / 0.8835 GB, free: 3.223 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.6797, allocations: 4 kB / 0.8835 GB, free: 3.219 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.451e-05/0.6797, allocations: 7.969 kB / 0.8835 GB, free: 3.211 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005922/0.6856, allocations: 3.444 MB / 0.8869 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.6857, allocations: 0 / 0.8869 GB, free: 15.69 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001476/0.6872, allocations: 319.5 kB / 0.8872 GB, free: 15.38 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007783/0.6879, allocations: 180.1 kB / 0.8874 GB, free: 15.19 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001162/0.6881, allocations: 43.97 kB / 0.8874 GB, free: 15.14 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005518/0.6936, allocations: 7.324 MB / 0.8946 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.6936, allocations: 0 / 0.8946 GB, free: 7.117 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003865/0.6975, allocations: 1.714 MB / 0.8962 GB, free: 5.367 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/0.6982, allocations: 415.6 kB / 0.8966 GB, free: 4.941 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002477/0.6985, allocations: 28 kB / 0.8967 GB, free: 4.914 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/0.6998, allocations: 101.4 kB / 0.8968 GB, free: 4.816 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002455/0.7, allocations: 117.2 kB / 0.8969 GB, free: 4.703 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001693/0.7002, allocations: 63.95 kB / 0.8969 GB, free: 4.641 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008246/0.7011, allocations: 0.5863 MB / 0.8975 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.7011, allocations: 0 / 0.8975 GB, free: 4.043 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001551/0.7026, allocations: 0.6039 MB / 0.8981 GB, free: 3.438 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.005534/0.7082, allocations: 2.892 MB / 0.9009 GB, free: 0.6992 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003268/0.7114, allocations: 1.832 MB / 0.9027 GB, free: 14.8 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.304e-06/0.7115, allocations: 4.562 kB / 0.9027 GB, free: 14.79 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.001984/0.7135, allocations: 1.317 MB / 0.904 GB, free: 13.41 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.7159, allocations: 0.5239 MB / 0.9045 GB, free: 12.91 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.7336, allocations: 9.962 MB / 0.9142 GB, free: 2.77 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009516/0.7346, allocations: 1.304 MB / 0.9155 GB, free: 1.438 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001573/0.7362, allocations: 430.5 kB / 0.9159 GB, free: 1.012 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009408/0.7371, allocations: 0.6476 MB / 0.9165 GB, free: 372 kB / 0.67 GB Notification: Performance of SimCode: time 5.51e-07/0.7371, allocations: 0 / 0.9165 GB, free: 372 kB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07833/0.8155, allocations: 37.58 MB / 0.9532 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.78/14.59, allocations: 11.77 kB / 0.9533 GB, free: 11.16 MB / 0.7169 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)