Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="IDEAS_dev_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.00846/0.00846, allocations: 102.9 kB / 15.74 MB, free: 6.449 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.002123/0.002123, allocations: 199.3 kB / 16.68 MB, free: 6.352 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.381/1.381, allocations: 222.9 MB / 240.4 MB, free: 4.293 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.923/0.923, allocations: 135.1 MB / 425.7 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001265/0.001265, allocations: 63.91 kB / 0.5851 GB, free: 3.867 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3877, allocations: 80.91 MB / 0.6642 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1725/0.5603, allocations: 166.8 MB / 0.8271 GB, free: 10.16 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0191/0.5794, allocations: 16.83 MB / 0.8435 GB, free: 9.277 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001128/0.5806, allocations: 27.81 kB / 0.8435 GB, free: 9.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001606/0.5822, allocations: 0.5276 MB / 0.844 GB, free: 8.719 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.004509/0.5868, allocations: 1.499 MB / 0.8455 GB, free: 7.215 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.5901, allocations: 1.278 MB / 0.8467 GB, free: 5.949 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.002328/0.5925, allocations: 2.366 MB / 0.8491 GB, free: 3.574 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001889/0.5944, allocations: 1.889 MB / 0.8509 GB, free: 1.641 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002965/0.5974, allocations: 1.316 MB / 0.8522 GB, free: 376 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008723/0.5982, allocations: 0.8985 MB / 0.8531 GB, free: 15.46 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.5985, allocations: 192 kB / 0.8532 GB, free: 15.28 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002309/0.6008, allocations: 1.408 MB / 0.8546 GB, free: 13.87 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004085/0.6012, allocations: 0.5297 MB / 0.8551 GB, free: 13.34 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0007526/0.602, allocations: 0.9444 MB / 0.8561 GB, free: 12.39 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003022/0.605, allocations: 2.944 MB / 0.8589 GB, free: 9.434 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.605, allocations: 3.938 kB / 0.8589 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.593e-06/0.605, allocations: 0 / 0.8589 GB, free: 9.43 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.167e-05/0.605, allocations: 0 / 0.8589 GB, free: 9.43 MB / 0.6856 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.003033/0.6081, allocations: 2.21 MB / 0.8611 GB, free: 7.156 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.49e-05/0.6081, allocations: 11.97 kB / 0.8611 GB, free: 7.145 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00025/0.6084, allocations: 244.6 kB / 0.8613 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003346/0.6117, allocations: 0.5022 MB / 0.8618 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001507/0.6133, allocations: 1.098 MB / 0.8629 GB, free: 5.25 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.131e-05/0.6133, allocations: 127.2 kB / 0.863 GB, free: 5.125 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001937/0.6135, allocations: 160 kB / 0.8632 GB, free: 4.969 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002759/0.6163, allocations: 1.775 MB / 0.8649 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.6164, allocations: 0 / 0.8649 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.6165, allocations: 72 kB / 0.865 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3e-05/0.6165, allocations: 40 kB / 0.865 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002947/0.6195, allocations: 1.823 MB / 0.8668 GB, free: 1.203 MB / 0.6856 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.3266/0.9461, allocations: 4.999 MB / 0.8717 GB, free: 189.5 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003151/0.9493, allocations: 1.67 MB / 0.8733 GB, free: 188.7 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001288/0.9506, allocations: 0.6166 MB / 0.8739 GB, free: 188.5 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008775/0.9515, allocations: 0.8068 MB / 0.8747 GB, free: 187.6 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001708/0.9532, allocations: 0.819 MB / 0.8755 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=137): time 4.939e-06/0.9533, allocations: 0 / 0.8755 GB, free: 187.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=137): time 0.006283/0.9595, allocations: 2.438 MB / 0.8779 GB, free: 186.1 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.422e-05/0.9597, allocations: 199.6 kB / 0.8781 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.9613, allocations: 0.7823 MB / 0.8788 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0003011/0.9616, allocations: 54.77 kB / 0.8789 GB, free: 185.5 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007694/0.9624, allocations: 0.6443 MB / 0.8795 GB, free: 185 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005455/0.963, allocations: 482.5 kB / 0.88 GB, free: 184.6 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005413/0.9635, allocations: 233.2 kB / 0.8802 GB, free: 184.5 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 9.464e-05/0.9636, allocations: 352.9 kB / 0.8805 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001139/0.9648, allocations: 441.4 kB / 0.881 GB, free: 184 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001286/0.9661, allocations: 0.596 MB / 0.8815 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002015/0.9681, allocations: 1.042 MB / 0.8826 GB, free: 183 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.9681, allocations: 0 / 0.8826 GB, free: 183 MB / 0.6856 GB Notification: Performance of matching and sorting (n=146) (initialization): time 0.003302/0.9714, allocations: 1.423 MB / 0.884 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.9715, allocations: 9.438 kB / 0.884 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.9715, allocations: 0 / 0.884 GB, free: 182.3 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008691/0.9724, allocations: 191.6 kB / 0.8841 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001452/0.9738, allocations: 316.9 kB / 0.8844 GB, free: 182.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004232/0.9781, allocations: 7.276 MB / 0.8916 GB, free: 174.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001138/0.9792, allocations: 136.2 kB / 0.8917 GB, free: 174.6 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.9794, allocations: 53.19 kB / 0.8917 GB, free: 174.6 MB / 0.6856 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.0007435/0.9801, allocations: 358.3 kB / 0.8921 GB, free: 174.4 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003276/0.9804, allocations: 136.7 kB / 0.8922 GB, free: 174.3 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003594/0.984, allocations: 1.746 MB / 0.8939 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.771e-05/0.9841, allocations: 14.72 kB / 0.8939 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.9841, allocations: 6.281 kB / 0.8939 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.416e-05/0.9841, allocations: 7.969 kB / 0.8939 GB, free: 173.3 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005399/0.9895, allocations: 3.263 MB / 0.8971 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.9895, allocations: 0 / 0.8971 GB, free: 171.3 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001353/0.9909, allocations: 306 kB / 0.8974 GB, free: 171.2 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006958/0.9916, allocations: 178.3 kB / 0.8976 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.63e-05/0.9917, allocations: 43.44 kB / 0.8976 GB, free: 171.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003851/0.9956, allocations: 7.322 MB / 0.9048 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.9956, allocations: 1.438 kB / 0.9048 GB, free: 163.6 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003198/0.9988, allocations: 1.618 MB / 0.9064 GB, free: 162.7 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006195/0.9994, allocations: 388 kB / 0.9067 GB, free: 162.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001997/0.9996, allocations: 31.27 kB / 0.9068 GB, free: 162.4 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/1.001, allocations: 87.23 kB / 0.9068 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001876/1.001, allocations: 102 kB / 0.9069 GB, free: 162.3 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001296/1.001, allocations: 71.62 kB / 0.907 GB, free: 162.2 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0006712/1.002, allocations: 0.5486 MB / 0.9075 GB, free: 161.9 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.31e-07/1.002, allocations: 0 / 0.9075 GB, free: 161.9 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001448/1.003, allocations: 0.5613 MB / 0.9081 GB, free: 161.8 MB / 0.6856 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.004764/1.008, allocations: 2.788 MB / 0.9108 GB, free: 160.1 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002967/1.011, allocations: 1.754 MB / 0.9125 GB, free: 159 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 6.903e-06/1.011, allocations: 3.312 kB / 0.9125 GB, free: 159 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001685/1.013, allocations: 1.266 MB / 0.9138 GB, free: 158.1 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002232/1.015, allocations: 0.4982 MB / 0.9143 GB, free: 157.8 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01796/1.033, allocations: 9.611 MB / 0.9236 GB, free: 152 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007221/1.034, allocations: 1.279 MB / 0.9249 GB, free: 150.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.00145/1.035, allocations: 417.8 kB / 0.9253 GB, free: 150.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007616/1.036, allocations: 0.6203 MB / 0.9259 GB, free: 149.7 MB / 0.6856 GB Notification: Performance of SimCode: time 7.72e-07/1.036, allocations: 0 / 0.9259 GB, free: 149.7 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06484/1.101, allocations: 35.29 MB / 0.9604 GB, free: 114.8 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.59/14.69, allocations: 7.812 kB / 0.9604 GB, free: 114.8 MB / 0.6856 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Fluid_Sources_Examples_Outside_CpLowRise.fmu > IDEAS_dev_IDEAS.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)