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.001447/0.001447, allocations: 105.5 kB / 16.41 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.00161/0.00161, allocations: 191.9 kB / 17.34 MB, free: 5.75 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.736/0.736, allocations: 122.9 MB / 414.1 MB, free: 15.77 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 72.17 kB / 0.568 GB, free: 28.98 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1382, allocations: 77.92 MB / 0.6441 GB, free: 9.516 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sources.Examples.Outside): time 0.5329/0.6711, allocations: 176.5 MB / 0.8164 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.6871, allocations: 10.9 MB / 0.8271 GB, free: 6.973 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001788/0.6889, allocations: 35.88 kB / 0.8271 GB, free: 6.957 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001432/0.6903, allocations: 417.3 kB / 0.8275 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003777/0.6942, allocations: 1.121 MB / 0.8286 GB, free: 5.922 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004656/0.6988, allocations: 1.74 MB / 0.8303 GB, free: 4.82 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003495/0.7024, allocations: 2.381 MB / 0.8326 GB, free: 3.438 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002383/0.7048, allocations: 1.396 MB / 0.834 GB, free: 2.559 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003638/0.7084, allocations: 1.302 MB / 0.8353 GB, free: 1.859 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00138/0.7098, allocations: 0.8014 MB / 0.836 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0003133/0.7102, allocations: 156.2 kB / 0.8362 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003035/0.7132, allocations: 1.415 MB / 0.8376 GB, free: 0.7812 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004462/0.7137, allocations: 453.2 kB / 0.838 GB, free: 464 kB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009914/0.7147, allocations: 0.7845 MB / 0.8388 GB, free: 15.91 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004753/0.7194, allocations: 2.601 MB / 0.8413 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.262e-06/0.7195, allocations: 0 / 0.8413 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7195, allocations: 0 / 0.8413 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.772e-05/0.7195, allocations: 0 / 0.8413 GB, free: 14.26 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.003865/0.7234, allocations: 1.944 MB / 0.8432 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.52e-05/0.7235, allocations: 8.219 kB / 0.8432 GB, free: 12.78 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002047/0.7237, allocations: 179.6 kB / 0.8434 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.7259, allocations: 366.3 kB / 0.8437 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001849/0.7278, allocations: 0.9914 MB / 0.8447 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.341e-05/0.7279, allocations: 90.11 kB / 0.8448 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001678/0.728, allocations: 121.8 kB / 0.8449 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002209/0.7303, allocations: 1.298 MB / 0.8462 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.594e-05/0.7303, allocations: 0 / 0.8462 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001163/0.7304, allocations: 48.59 kB / 0.8462 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.918e-05/0.7304, allocations: 27.66 kB / 0.8462 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.7327, allocations: 1.454 MB / 0.8477 GB, free: 10.05 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.006332/0.739, allocations: 4.041 MB / 0.8516 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002265/0.7413, allocations: 1.212 MB / 0.8528 GB, free: 5.027 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000826/0.7422, allocations: 458.5 kB / 0.8532 GB, free: 4.578 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000743/0.7429, allocations: 431.6 kB / 0.8536 GB, free: 4.094 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001177/0.7441, allocations: 0.6606 MB / 0.8543 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=106): time 2.785e-06/0.7441, allocations: 0 / 0.8543 GB, free: 3.414 MB / 0.6075 GB Notification: Performance of matching and sorting (n=106): time 0.004225/0.7484, allocations: 1.61 MB / 0.8559 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001426/0.7485, allocations: 192.9 kB / 0.856 GB, free: 1.547 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001329/0.7499, allocations: 0.8828 MB / 0.8569 GB, free: 0.6406 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001293/0.75, allocations: 45.7 kB / 0.8569 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004387/0.7505, allocations: 0.5232 MB / 0.8575 GB, free: 64 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000329/0.7508, allocations: 371 kB / 0.8578 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003001/0.7511, allocations: 190.6 kB / 0.858 GB, free: 15.51 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001431/0.7513, allocations: 349.7 kB / 0.8583 GB, free: 15.16 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007186/0.752, allocations: 373.8 kB / 0.8587 GB, free: 14.8 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008701/0.7529, allocations: 0.4932 MB / 0.8592 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001569/0.7544, allocations: 0.8445 MB / 0.86 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.7545, allocations: 4 kB / 0.86 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002676/0.7571, allocations: 1.115 MB / 0.8611 GB, free: 12.28 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.464e-05/0.7572, allocations: 8 kB / 0.8611 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.7572, allocations: 0 / 0.8611 GB, free: 12.27 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006087/0.7578, allocations: 96.73 kB / 0.8612 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009833/0.7588, allocations: 219.7 kB / 0.8614 GB, free: 11.96 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002356/0.7612, allocations: 1.646 MB / 0.863 GB, free: 10.17 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001281/0.7625, allocations: 131.2 kB / 0.8631 GB, free: 10.04 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001158/0.7626, allocations: 39.97 kB / 0.8632 GB, free: 10 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.0008761/0.7635, allocations: 325.5 kB / 0.8635 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003579/0.7639, allocations: 119.2 kB / 0.8636 GB, free: 9.555 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003195/0.7671, allocations: 1.507 MB / 0.8651 GB, free: 8.027 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/0.7671, allocations: 12 kB / 0.8651 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7671, allocations: 0 / 0.8651 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.772e-05/0.7671, allocations: 11.91 kB / 0.8651 GB, free: 8.004 MB / 0.6231 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.00526/0.7724, allocations: 2.844 MB / 0.8679 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.644e-06/0.7724, allocations: 4 kB / 0.8679 GB, free: 5.074 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008991/0.7734, allocations: 199.9 kB / 0.8681 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004467/0.7738, allocations: 76.78 kB / 0.8681 GB, free: 4.801 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.759e-05/0.7739, allocations: 27.98 kB / 0.8682 GB, free: 4.773 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001897/0.7758, allocations: 1.685 MB / 0.8698 GB, free: 2.941 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.7758, allocations: 7.938 kB / 0.8698 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003642/0.7795, allocations: 1.87 MB / 0.8716 GB, free: 1.027 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007946/0.7803, allocations: 351.9 kB / 0.872 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002284/0.7805, allocations: 24 kB / 0.872 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009315/0.7815, allocations: 73.75 kB / 0.8721 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001923/0.7817, allocations: 96.75 kB / 0.8722 GB, free: 488 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.465e-05/0.7818, allocations: 47.97 kB / 0.8722 GB, free: 440 kB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0009174/0.7827, allocations: 0.63 MB / 0.8728 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/0.7827, allocations: 0 / 0.8728 GB, free: 15.79 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001337/0.7841, allocations: 458.9 kB / 0.8733 GB, free: 15.34 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.005333/0.7894, allocations: 3.037 MB / 0.8762 GB, free: 12.47 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00228/0.7917, allocations: 1.066 MB / 0.8773 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.73e-06/0.7917, allocations: 0 / 0.8773 GB, free: 11.39 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.00123/0.793, allocations: 0.6637 MB / 0.8779 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002553/0.7955, allocations: 0.524 MB / 0.8784 GB, free: 10.22 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01402/0.8096, allocations: 8.808 MB / 0.887 GB, free: 1.215 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006996/0.8103, allocations: 1.162 MB / 0.8882 GB, free: 28 kB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001261/0.8116, allocations: 373.7 kB / 0.8885 GB, free: 15.66 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007572/0.8123, allocations: 0.5305 MB / 0.889 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of SimCode: time 6.01e-07/0.8123, allocations: 0 / 0.889 GB, free: 15.13 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06821/0.8806, allocations: 33.15 MB / 0.9214 GB, free: 14.34 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.31/14.19, allocations: 4.688 kB / 0.9214 GB, free: 14.33 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)