Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.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,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.Outside,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside",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.001301/0.001301, allocations: 105.4 kB / 16.4 MB, free: 6.469 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.001251/0.001251, allocations: 196 kB / 17.34 MB, free: 5.711 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.401/1.401, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8243/0.8243, allocations: 126.7 MB / 417.9 MB, free: 12.24 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001937/0.001937, allocations: 66.19 kB / 0.5735 GB, free: 27.14 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1263/0.1282, allocations: 78.86 MB / 0.6505 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.4676/0.5959, allocations: 176.6 MB / 0.823 GB, free: 9.465 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01549/0.6114, allocations: 10.9 MB / 0.8336 GB, free: 0.9922 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001382/0.6128, allocations: 31.84 kB / 0.8336 GB, free: 0.9805 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001295/0.6141, allocations: 421.4 kB / 0.834 GB, free: 0.6172 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003438/0.6176, allocations: 1.084 MB / 0.8351 GB, free: 15.79 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.004245/0.6219, allocations: 1.71 MB / 0.8368 GB, free: 14.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002992/0.6249, allocations: 2.37 MB / 0.8391 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.6267, allocations: 1.402 MB / 0.8404 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003545/0.6303, allocations: 1.409 MB / 0.8418 GB, free: 11.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001069/0.6314, allocations: 0.8029 MB / 0.8426 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001982/0.6316, allocations: 153.5 kB / 0.8427 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002592/0.6342, allocations: 1.407 MB / 0.8441 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004261/0.6346, allocations: 448.4 kB / 0.8445 GB, free: 9.754 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007889/0.6354, allocations: 0.7905 MB / 0.8453 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003612/0.639, allocations: 2.597 MB / 0.8479 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.639, allocations: 4 kB / 0.8479 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.6391, allocations: 0 / 0.8479 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.682e-05/0.6391, allocations: 0 / 0.8479 GB, free: 7.418 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.003353/0.6425, allocations: 1.946 MB / 0.8498 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.465e-05/0.6425, allocations: 10.09 kB / 0.8498 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002122/0.6427, allocations: 184 kB / 0.8499 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002134/0.6449, allocations: 351.2 kB / 0.8503 GB, free: 5.617 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.6465, allocations: 1.004 MB / 0.8513 GB, free: 4.824 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.068e-05/0.6465, allocations: 85.52 kB / 0.8513 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001528/0.6467, allocations: 112.2 kB / 0.8515 GB, free: 4.75 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00222/0.6489, allocations: 1.303 MB / 0.8527 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.649, allocations: 0 / 0.8527 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001177/0.6491, allocations: 49.03 kB / 0.8528 GB, free: 3.887 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.094e-05/0.6491, allocations: 29.19 kB / 0.8528 GB, free: 3.883 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002632/0.6518, allocations: 1.453 MB / 0.8542 GB, free: 2.422 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.006443/0.6582, allocations: 4.097 MB / 0.8582 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002396/0.6606, allocations: 1.208 MB / 0.8594 GB, free: 12.87 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000852/0.6615, allocations: 456.7 kB / 0.8598 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007767/0.6623, allocations: 425.3 kB / 0.8602 GB, free: 11.93 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001234/0.6635, allocations: 0.6529 MB / 0.8609 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=106): time 2.645e-06/0.6635, allocations: 0 / 0.8609 GB, free: 11.26 MB / 0.6231 GB Notification: Performance of matching and sorting (n=106): time 0.004358/0.6679, allocations: 1.61 MB / 0.8624 GB, free: 9.621 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001257/0.6681, allocations: 196.9 kB / 0.8626 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001242/0.6693, allocations: 0.8789 MB / 0.8635 GB, free: 8.484 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001018/0.6694, allocations: 45.7 kB / 0.8635 GB, free: 8.434 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004747/0.6699, allocations: 0.5325 MB / 0.8641 GB, free: 7.895 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003447/0.6702, allocations: 372.8 kB / 0.8644 GB, free: 7.527 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003395/0.6706, allocations: 190.6 kB / 0.8646 GB, free: 7.336 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.6708, allocations: 345.9 kB / 0.8649 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007944/0.6716, allocations: 357.8 kB / 0.8653 GB, free: 6.641 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009626/0.6725, allocations: 0.5049 MB / 0.8658 GB, free: 6.102 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.6743, allocations: 0.8407 MB / 0.8666 GB, free: 5.242 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.6743, allocations: 3.938 kB / 0.8666 GB, free: 5.238 MB / 0.6231 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002727/0.677, allocations: 1.122 MB / 0.8677 GB, free: 4.105 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.717e-05/0.677, allocations: 4 kB / 0.8677 GB, free: 4.102 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.6771, allocations: 4 kB / 0.8677 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006184/0.6777, allocations: 88.8 kB / 0.8678 GB, free: 4.008 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00101/0.6787, allocations: 227.6 kB / 0.868 GB, free: 3.785 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002278/0.681, allocations: 1.642 MB / 0.8696 GB, free: 1.996 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009495/0.682, allocations: 131.1 kB / 0.8697 GB, free: 1.867 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001052/0.6821, allocations: 43.97 kB / 0.8698 GB, free: 1.824 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (120): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0005516/0.6826, allocations: 321.6 kB / 0.8701 GB, free: 1.5 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000239/0.6829, allocations: 119.2 kB / 0.8702 GB, free: 1.383 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003558/0.6864, allocations: 1.502 MB / 0.8716 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.898e-05/0.6865, allocations: 12 kB / 0.8717 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.585e-06/0.6865, allocations: 3.938 kB / 0.8717 GB, free: 15.84 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-05/0.6865, allocations: 3.984 kB / 0.8717 GB, free: 15.84 MB / 0.6387 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 postOpt removeSimpleEquations (simulation): time 0.005899/0.6924, allocations: 2.844 MB / 0.8744 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.521e-06/0.6925, allocations: 0 / 0.8744 GB, free: 12.89 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001062/0.6935, allocations: 203.7 kB / 0.8746 GB, free: 12.69 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004877/0.694, allocations: 80.97 kB / 0.8747 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-05/0.6941, allocations: 31.97 kB / 0.8747 GB, free: 12.57 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002113/0.6963, allocations: 1.677 MB / 0.8764 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.003e-06/0.6963, allocations: 0 / 0.8764 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004024/0.7003, allocations: 1.87 MB / 0.8782 GB, free: 8.844 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000596/0.7009, allocations: 351.9 kB / 0.8785 GB, free: 8.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.7011, allocations: 24 kB / 0.8786 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001027/0.7022, allocations: 78.88 kB / 0.8786 GB, free: 8.383 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002078/0.7024, allocations: 92.75 kB / 0.8787 GB, free: 8.293 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001052/0.7025, allocations: 51.91 kB / 0.8788 GB, free: 8.242 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0009481/0.7035, allocations: 0.6222 MB / 0.8794 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.7035, allocations: 0 / 0.8794 GB, free: 7.609 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001239/0.7047, allocations: 466.9 kB / 0.8798 GB, free: 7.152 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (senTem.T,senRelHum.phi,senMasFra.X) * 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 (114): * Single equations (assignments): 108 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006478/0.7112, allocations: 3.026 MB / 0.8828 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002423/0.7137, allocations: 1.069 MB / 0.8838 GB, free: 3.188 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.973e-06/0.7137, allocations: 4.312 kB / 0.8838 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001323/0.715, allocations: 0.6602 MB / 0.8845 GB, free: 2.512 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002692/0.7177, allocations: 0.5232 MB / 0.885 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0166/0.7343, allocations: 8.81 MB / 0.8936 GB, free: 9 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009888/0.7354, allocations: 1.17 MB / 0.8947 GB, free: 7.801 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001388/0.7368, allocations: 361.7 kB / 0.8951 GB, free: 7.445 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009077/0.7377, allocations: 0.5344 MB / 0.8956 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of SimCode: time 7.61e-07/0.7377, allocations: 0 / 0.8956 GB, free: 6.91 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07873/0.8164, allocations: 33.14 MB / 0.928 GB, free: 6.113 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.73/14.55, allocations: 5.469 kB / 0.928 GB, free: 6.109 MB / 0.6856 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside_res.csv --start-time 0 --stop-time 3.1536e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 12614.4 IBPSA_latest_IBPSA_Fluid_Sources_Examples_Outside.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.Outside.pipe 2>&1)