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.001185/0.001185, allocations: 107.5 kB / 16.41 MB, free: 6.496 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.001856/0.001856, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.402/1.402, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8092/0.8092, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001948/0.001948, allocations: 63.41 kB / 0.5735 GB, free: 27.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.127, allocations: 78.87 MB / 0.6505 GB, free: 3.613 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside_CpLowRise): time 0.4487/0.5757, allocations: 168.3 MB / 0.8149 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01896/0.5947, allocations: 17.06 MB / 0.8316 GB, free: 2.715 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001358/0.5961, allocations: 39.84 kB / 0.8316 GB, free: 2.695 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001416/0.5975, allocations: 0.5403 MB / 0.8321 GB, free: 2.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.6017, allocations: 1.614 MB / 0.8337 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00298/0.6046, allocations: 1.328 MB / 0.835 GB, free: 15.98 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002628/0.6073, allocations: 2.699 MB / 0.8376 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00209/0.6094, allocations: 1.88 MB / 0.8395 GB, free: 13.1 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003322/0.6127, allocations: 1.333 MB / 0.8408 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001103/0.6138, allocations: 0.9791 MB / 0.8417 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002266/0.6141, allocations: 206.5 kB / 0.8419 GB, free: 11.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002511/0.6166, allocations: 1.43 MB / 0.8433 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005142/0.6171, allocations: 0.5547 MB / 0.8439 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009818/0.6181, allocations: 1.032 MB / 0.8449 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003679/0.6218, allocations: 3.138 MB / 0.8479 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.6218, allocations: 2.562 kB / 0.848 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6218, allocations: 0 / 0.848 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.66e-05/0.6219, allocations: 0 / 0.848 GB, free: 7.656 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.003687/0.6255, allocations: 2.345 MB / 0.8502 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.6256, allocations: 10.12 kB / 0.8503 GB, free: 5.895 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002901/0.6259, allocations: 249.4 kB / 0.8505 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.6294, allocations: 0.5197 MB / 0.851 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001676/0.6311, allocations: 1.13 MB / 0.8521 GB, free: 4.57 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.141e-05/0.6312, allocations: 125.7 kB / 0.8522 GB, free: 4.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002042/0.6314, allocations: 174.6 kB / 0.8524 GB, free: 4.453 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003356/0.6348, allocations: 1.846 MB / 0.8542 GB, free: 2.566 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.272e-05/0.6348, allocations: 4 kB / 0.8542 GB, free: 2.562 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001726/0.635, allocations: 76 kB / 0.8543 GB, free: 2.488 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.995e-05/0.635, allocations: 40 kB / 0.8543 GB, free: 2.449 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003573/0.6386, allocations: 1.875 MB / 0.8561 GB, free: 0.5703 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008213/0.6468, allocations: 5.725 MB / 0.8617 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003302/0.6502, allocations: 1.755 MB / 0.8634 GB, free: 8.629 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001278/0.6514, allocations: 0.6515 MB / 0.8641 GB, free: 7.977 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009791/0.6524, allocations: 0.8116 MB / 0.8649 GB, free: 7 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00178/0.6542, allocations: 0.888 MB / 0.8657 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=146): time 3.186e-06/0.6542, allocations: 0 / 0.8657 GB, free: 6.09 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146): time 0.006795/0.6611, allocations: 2.564 MB / 0.8682 GB, free: 3.414 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001324/0.6612, allocations: 197.2 kB / 0.8684 GB, free: 3.18 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00128/0.6625, allocations: 0.831 MB / 0.8692 GB, free: 2.324 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001386/0.6626, allocations: 57.7 kB / 0.8693 GB, free: 2.262 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006171/0.6633, allocations: 0.6616 MB / 0.8699 GB, free: 1.59 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004659/0.6637, allocations: 0.4918 MB / 0.8704 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004179/0.6642, allocations: 242.8 kB / 0.8707 GB, free: 0.8477 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.6643, allocations: 353.9 kB / 0.871 GB, free: 0.4961 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00107/0.6654, allocations: 474.4 kB / 0.8714 GB, free: 36 kB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001308/0.6667, allocations: 0.6379 MB / 0.8721 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002352/0.6691, allocations: 1.099 MB / 0.8731 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.6691, allocations: 0 / 0.8731 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.003709/0.6728, allocations: 1.504 MB / 0.8746 GB, free: 12.72 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.927e-05/0.6729, allocations: 12.09 kB / 0.8746 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.6729, allocations: 0 / 0.8746 GB, free: 12.71 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009765/0.6739, allocations: 192.1 kB / 0.8748 GB, free: 12.51 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001574/0.6754, allocations: 331.6 kB / 0.8751 GB, free: 12.18 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00677/0.6822, allocations: 7.29 MB / 0.8822 GB, free: 4.191 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001232/0.6835, allocations: 150 kB / 0.8824 GB, free: 4.047 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001187/0.6836, allocations: 55.89 kB / 0.8824 GB, free: 3.992 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.0007466/0.6844, allocations: 373.5 kB / 0.8828 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002803/0.6847, allocations: 135.2 kB / 0.8829 GB, free: 3.484 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00438/0.689, allocations: 1.847 MB / 0.8847 GB, free: 1.609 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.6891, allocations: 20 kB / 0.8847 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.6891, allocations: 0 / 0.8847 GB, free: 1.59 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.6891, allocations: 7.969 kB / 0.8847 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006281/0.6954, allocations: 3.456 MB / 0.8881 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.879e-06/0.6954, allocations: 0 / 0.8881 GB, free: 14.05 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001478/0.6969, allocations: 319.6 kB / 0.8884 GB, free: 13.73 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008014/0.6977, allocations: 188.1 kB / 0.8886 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001025/0.6978, allocations: 39.97 kB / 0.8886 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006558/0.7044, allocations: 7.307 MB / 0.8958 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.297e-06/0.7044, allocations: 12.05 kB / 0.8958 GB, free: 5.473 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003807/0.7082, allocations: 1.713 MB / 0.8975 GB, free: 3.723 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006185/0.7088, allocations: 407.6 kB / 0.8979 GB, free: 3.305 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000192/0.709, allocations: 36 kB / 0.8979 GB, free: 3.27 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00117/0.7102, allocations: 100.5 kB / 0.898 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002283/0.7105, allocations: 109.2 kB / 0.8981 GB, free: 3.066 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001622/0.7106, allocations: 75.94 kB / 0.8982 GB, free: 2.992 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0008067/0.7114, allocations: 0.5785 MB / 0.8987 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7115, allocations: 0 / 0.8987 GB, free: 2.402 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001455/0.7129, allocations: 0.6117 MB / 0.8993 GB, free: 1.789 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.00628/0.7192, allocations: 2.901 MB / 0.9022 GB, free: 15.04 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.003418/0.7226, allocations: 1.832 MB / 0.9039 GB, free: 13.14 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 7.224e-06/0.7227, allocations: 4.562 kB / 0.9039 GB, free: 13.13 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002087/0.7247, allocations: 1.305 MB / 0.9052 GB, free: 11.77 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002208/0.727, allocations: 0.5219 MB / 0.9057 GB, free: 11.26 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01812/0.7451, allocations: 9.964 MB / 0.9155 GB, free: 1.121 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/0.7462, allocations: 1.3 MB / 0.9167 GB, free: 15.79 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001532/0.7478, allocations: 438.4 kB / 0.9172 GB, free: 15.36 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001011/0.7488, allocations: 0.6515 MB / 0.9178 GB, free: 14.71 MB / 0.6856 GB Notification: Performance of SimCode: time 2.535e-06/0.7488, allocations: 3.938 kB / 0.9178 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08944/0.8382, allocations: 37.57 MB / 0.9545 GB, free: 9.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.38/15.22, allocations: 6.641 kB / 0.9545 GB, free: 9.512 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)