Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_IDEAS_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.001408/0.001408, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001687/0.001687, allocations: 195.5 kB / 16.53 MB, free: 6.664 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.357/1.357, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8293/0.8293, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001561/0.001561, allocations: 60.09 kB / 0.5019 GB, free: 3.789 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.401, allocations: 80.2 MB / 0.5802 GB, free: 4.586 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1926/0.5936, allocations: 166.8 MB / 0.7431 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02183/0.6155, allocations: 16.83 MB / 0.7595 GB, free: 9.27 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001766/0.6173, allocations: 35.75 kB / 0.7596 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001556/0.6189, allocations: 0.5042 MB / 0.76 GB, free: 8.727 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004691/0.6236, allocations: 1.475 MB / 0.7615 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003337/0.627, allocations: 1.264 MB / 0.7627 GB, free: 6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002832/0.6298, allocations: 2.354 MB / 0.765 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.6321, allocations: 1.893 MB / 0.7669 GB, free: 1.691 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003209/0.6354, allocations: 1.251 MB / 0.7681 GB, free: 496 kB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001088/0.6365, allocations: 0.9101 MB / 0.769 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002815/0.6367, allocations: 192 kB / 0.7692 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002773/0.6395, allocations: 1.377 MB / 0.7705 GB, free: 14 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004788/0.64, allocations: 0.5258 MB / 0.771 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009679/0.641, allocations: 0.9483 MB / 0.7719 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003762/0.6448, allocations: 2.859 MB / 0.7747 GB, free: 9.656 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.054e-06/0.6448, allocations: 4 kB / 0.7747 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.026e-06/0.6448, allocations: 0 / 0.7747 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.813e-05/0.6448, allocations: 3.938 kB / 0.7747 GB, free: 9.648 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: 421 * Number of variables: 421 Notification: Performance of Generate backend data structure: time 0.003547/0.6484, allocations: 2.151 MB / 0.7768 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.6484, allocations: 12.03 kB / 0.7769 GB, free: 7.426 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002823/0.6487, allocations: 240.6 kB / 0.7771 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003693/0.6524, allocations: 0.5012 MB / 0.7776 GB, free: 6.676 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0017/0.6542, allocations: 1.051 MB / 0.7786 GB, free: 5.582 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.6543, allocations: 127.2 kB / 0.7787 GB, free: 5.457 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.6545, allocations: 156 kB / 0.7789 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003019/0.6575, allocations: 1.772 MB / 0.7806 GB, free: 3.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.895e-05/0.6576, allocations: 4 kB / 0.7806 GB, free: 3.477 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001631/0.6577, allocations: 76 kB / 0.7807 GB, free: 3.402 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.368e-05/0.6578, allocations: 43.94 kB / 0.7807 GB, free: 3.359 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003182/0.661, allocations: 1.823 MB / 0.7825 GB, free: 1.531 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.007418/0.6684, allocations: 5.05 MB / 0.7874 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002869/0.6713, allocations: 1.664 MB / 0.7891 GB, free: 10.5 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001116/0.6724, allocations: 0.6319 MB / 0.7897 GB, free: 9.863 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009475/0.6734, allocations: 0.8 MB / 0.7905 GB, free: 8.895 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001502/0.6749, allocations: 0.8177 MB / 0.7913 GB, free: 8.059 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=137): time 4.198e-06/0.6749, allocations: 3.984 kB / 0.7913 GB, free: 8.055 MB / 0.6231 GB Notification: Performance of matching and sorting (n=137): time 0.006205/0.6811, allocations: 2.431 MB / 0.7936 GB, free: 5.512 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.6812, allocations: 193.2 kB / 0.7938 GB, free: 5.277 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001077/0.6823, allocations: 0.7945 MB / 0.7946 GB, free: 4.473 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.000127/0.6825, allocations: 49.7 kB / 0.7946 GB, free: 4.418 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005395/0.683, allocations: 0.625 MB / 0.7952 GB, free: 3.781 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/0.6834, allocations: 465.2 kB / 0.7957 GB, free: 3.32 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003731/0.6838, allocations: 222.8 kB / 0.7959 GB, free: 3.098 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001609/0.684, allocations: 353.9 kB / 0.7962 GB, free: 2.746 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009883/0.685, allocations: 442.4 kB / 0.7967 GB, free: 2.312 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001164/0.6861, allocations: 0.6027 MB / 0.7973 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002108/0.6882, allocations: 1.033 MB / 0.7983 GB, free: 0.625 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.67e-06/0.6883, allocations: 4 kB / 0.7983 GB, free: 0.6211 MB / 0.6231 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.00347/0.6917, allocations: 1.421 MB / 0.7997 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.57e-05/0.6918, allocations: 4 kB / 0.7997 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/0.6918, allocations: 0 / 0.7997 GB, free: 15.17 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.6928, allocations: 200.2 kB / 0.7998 GB, free: 14.96 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001485/0.6943, allocations: 307.6 kB / 0.8001 GB, free: 14.66 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00645/0.7008, allocations: 7.279 MB / 0.8073 GB, free: 6.676 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.7021, allocations: 140.7 kB / 0.8074 GB, free: 6.539 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/0.7022, allocations: 51.91 kB / 0.8074 GB, free: 6.488 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: 6 (weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (136): * Single equations (assignments): 131 * 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.0008152/0.7031, allocations: 359.1 kB / 0.8078 GB, free: 6.129 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003901/0.7035, allocations: 118.6 kB / 0.8079 GB, free: 6.012 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004348/0.7078, allocations: 1.756 MB / 0.8096 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.377e-05/0.7078, allocations: 16 kB / 0.8096 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.7079, allocations: 0 / 0.8096 GB, free: 4.215 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.566e-05/0.7079, allocations: 7.969 kB / 0.8096 GB, free: 4.207 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006275/0.7142, allocations: 3.264 MB / 0.8128 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.7142, allocations: 0 / 0.8128 GB, free: 0.8672 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001443/0.7156, allocations: 311.6 kB / 0.8131 GB, free: 0.5625 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007796/0.7164, allocations: 184.1 kB / 0.8133 GB, free: 376 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.525e-05/0.7165, allocations: 39.97 kB / 0.8133 GB, free: 336 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2807/0.9972, allocations: 7.31 MB / 0.8205 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9973, allocations: 0.6562 kB / 0.8205 GB, free: 210.5 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003693/1.001, allocations: 1.615 MB / 0.822 GB, free: 210 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005768/1.002, allocations: 388.5 kB / 0.8224 GB, free: 209.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001657/1.002, allocations: 30.31 kB / 0.8224 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/1.003, allocations: 84.19 kB / 0.8225 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002388/1.003, allocations: 102.7 kB / 0.8226 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001482/1.003, allocations: 69.19 kB / 0.8227 GB, free: 209.8 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000804/1.004, allocations: 0.5519 MB / 0.8232 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/1.004, allocations: 0 / 0.8232 GB, free: 209.5 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001409/1.005, allocations: 0.5447 MB / 0.8238 GB, free: 209.4 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,weaDat.conTimMin.tNext,weaDat.conTim.tNext) * Number of discrete states: 2 (weaDat.conTim.tNext,weaDat.conTimMin.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (140): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.005091/1.011, allocations: 2.776 MB / 0.8265 GB, free: 208.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004812/1.015, allocations: 2.168 MB / 0.8286 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/1.015, allocations: 10.56 kB / 0.8286 GB, free: 207.2 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001839/1.017, allocations: 1.258 MB / 0.8298 GB, free: 206.4 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002288/1.02, allocations: 0.4973 MB / 0.8303 GB, free: 206.2 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01699/1.037, allocations: 10.06 MB / 0.8401 GB, free: 201.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007086/1.037, allocations: 1.271 MB / 0.8414 GB, free: 200.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001774/1.039, allocations: 427.7 kB / 0.8418 GB, free: 200.2 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007385/1.04, allocations: 0.6193 MB / 0.8424 GB, free: 199.8 MB / 0.6387 GB Notification: Performance of SimCode: time 8.42e-07/1.04, allocations: 0 / 0.8424 GB, free: 199.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06796/1.108, allocations: 34.96 MB / 0.8765 GB, free: 171.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.3/13.4, allocations: 0.6562 kB / 0.8765 GB, free: 171.5 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)