Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise,fileNamePrefix="BuildingSystems_BuildingSystems_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.006546/0.006546, allocations: 98.42 kB / 15.73 MB, free: 6.031 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.001459/0.001459, allocations: 196.5 kB / 16.67 MB, free: 5.953 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.235/1.235, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002133/0.002133, allocations: 298.6 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8688/0.8688, allocations: 169.3 MB / 0.4983 GB, free: 4.445 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001776/0.001776, allocations: 103.8 kB / 0.681 GB, free: 7.477 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3788/0.3805, allocations: 86.97 MB / 0.7659 GB, free: 3.891 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise): time 0.1605/0.5411, allocations: 167.1 MB / 0.929 GB, free: 12.18 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02028/0.5614, allocations: 16.93 MB / 0.9456 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001698/0.5631, allocations: 35.81 kB / 0.9456 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.5649, allocations: 0.5353 MB / 0.9461 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.004279/0.5692, allocations: 1.539 MB / 0.9476 GB, free: 9.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003134/0.5724, allocations: 1.321 MB / 0.9489 GB, free: 7.77 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.002833/0.5752, allocations: 2.498 MB / 0.9514 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002481/0.5777, allocations: 1.932 MB / 0.9532 GB, free: 3.289 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003453/0.5812, allocations: 1.354 MB / 0.9546 GB, free: 1.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001228/0.5824, allocations: 0.9529 MB / 0.9555 GB, free: 1.016 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002989/0.5827, allocations: 204 kB / 0.9557 GB, free: 0.8164 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.389/0.9717, allocations: 1.423 MB / 0.9571 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006368/0.9723, allocations: 0.5557 MB / 0.9576 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001283/0.9736, allocations: 0.9983 MB / 0.9586 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.004531/0.9782, allocations: 3.067 MB / 0.9616 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.9782, allocations: 1.438 kB / 0.9616 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.412e-06/0.9782, allocations: 0 / 0.9616 GB, free: 6.555 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 3.253e-05/0.9782, allocations: 0 / 0.9616 GB, free: 6.555 MB / 0.7169 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.003527/0.9818, allocations: 2.314 MB / 0.9639 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.621e-05/0.9818, allocations: 10.12 kB / 0.9639 GB, free: 5.445 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002453/0.9821, allocations: 247 kB / 0.9641 GB, free: 5.398 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003286/0.9854, allocations: 0.5136 MB / 0.9646 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001456/0.9868, allocations: 1.133 MB / 0.9657 GB, free: 4.906 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-05/0.9869, allocations: 130.3 kB / 0.9658 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001996/0.9871, allocations: 166 kB / 0.966 GB, free: 4.902 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002741/0.9899, allocations: 1.844 MB / 0.9678 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.312e-05/0.9899, allocations: 4.562 kB / 0.9678 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001582/0.9901, allocations: 74.38 kB / 0.9679 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.345e-05/0.9901, allocations: 42.09 kB / 0.9679 GB, free: 4.723 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00277/0.9929, allocations: 1.876 MB / 0.9697 GB, free: 4.707 MB / 0.7169 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.006002/0.9989, allocations: 5.147 MB / 0.9748 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002479/1.001, allocations: 1.763 MB / 0.9765 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009496/1.002, allocations: 0.6445 MB / 0.9771 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00078/1.003, allocations: 0.8094 MB / 0.9779 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001368/1.005, allocations: 0.8864 MB / 0.9788 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=146): time 2.705e-06/1.005, allocations: 0 / 0.9788 GB, free: 17.54 MB / 0.7325 GB Notification: Performance of matching and sorting (n=146): time 0.005369/1.01, allocations: 2.564 MB / 0.9813 GB, free: 16.89 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.801e-05/1.01, allocations: 203.4 kB / 0.9815 GB, free: 16.67 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000901/1.011, allocations: 0.8359 MB / 0.9823 GB, free: 16.51 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001135/1.011, allocations: 57.64 kB / 0.9823 GB, free: 16.48 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000375/1.011, allocations: 0.6599 MB / 0.983 GB, free: 16.17 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002674/1.012, allocations: 0.4944 MB / 0.9835 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003208/1.012, allocations: 239.4 kB / 0.9837 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001125/1.012, allocations: 356.2 kB / 0.984 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008441/1.013, allocations: 478.1 kB / 0.9845 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009541/1.014, allocations: 0.6346 MB / 0.9851 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001805/1.016, allocations: 1.094 MB / 0.9862 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/1.016, allocations: 0.7812 kB / 0.9862 GB, free: 15.34 MB / 0.7325 GB Notification: Performance of matching and sorting (n=158) (initialization): time 0.002894/1.019, allocations: 1.506 MB / 0.9877 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/1.019, allocations: 7.188 kB / 0.9877 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.934e-06/1.019, allocations: 1 kB / 0.9877 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008044/1.02, allocations: 193.3 kB / 0.9878 GB, free: 15.13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.021, allocations: 337.2 kB / 0.9882 GB, free: 15.12 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005274/1.026, allocations: 7.276 MB / 0.9953 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001173/1.027, allocations: 150.5 kB / 0.9954 GB, free: 8.301 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-05/1.028, allocations: 54.39 kB / 0.9955 GB, free: 8.301 MB / 0.7325 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.0006588/1.028, allocations: 379.8 kB / 0.9958 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002655/1.028, allocations: 138.4 kB / 0.996 GB, free: 8.109 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003567/1.032, allocations: 1.839 MB / 0.9978 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.718e-06/1.032, allocations: 17.02 kB / 0.9978 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.032, allocations: 0.9375 kB / 0.9978 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.286e-05/1.032, allocations: 7.797 kB / 0.9978 GB, free: 7.953 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005086/1.037, allocations: 3.435 MB / 1.001 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/1.037, allocations: 3.094 kB / 1.001 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001288/1.038, allocations: 315.9 kB / 1.001 GB, free: 7.516 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006656/1.039, allocations: 182.2 kB / 1.002 GB, free: 7.477 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.843e-05/1.039, allocations: 40.73 kB / 1.002 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004943/1.044, allocations: 7.334 MB / 1.009 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/1.044, allocations: 0 / 1.009 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003156/1.047, allocations: 1.719 MB / 1.01 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006344/1.048, allocations: 417.6 kB / 1.011 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001788/1.048, allocations: 30.52 kB / 1.011 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00107/1.049, allocations: 99.81 kB / 1.011 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001839/1.049, allocations: 114.6 kB / 1.011 GB, free: 212 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001238/1.05, allocations: 72.59 kB / 1.011 GB, free: 212 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0006631/1.05, allocations: 0.5771 MB / 1.012 GB, free: 100 kB / 0.7325 GB Notification: Performance of sort global known variables: time 1.7e-07/1.05, allocations: 0.9688 kB / 1.012 GB, free: 100 kB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001501/1.052, allocations: 0.5774 MB / 1.012 GB, free: 15.99 MB / 0.7481 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.004838/1.057, allocations: 2.9 MB / 1.015 GB, free: 15.06 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.002842/1.059, allocations: 1.839 MB / 1.017 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 5.41e-06/1.059, allocations: 4.047 kB / 1.017 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.001708/1.061, allocations: 1.306 MB / 1.018 GB, free: 13.92 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002073/1.063, allocations: 0.5079 MB / 1.019 GB, free: 13.86 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0157/1.079, allocations: 10.08 MB / 1.029 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007636/1.08, allocations: 1.299 MB / 1.03 GB, free: 10.59 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001496/1.081, allocations: 438.2 kB / 1.03 GB, free: 10.47 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007503/1.082, allocations: 0.6544 MB / 1.031 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of SimCode: time 6.41e-07/1.082, allocations: 0 / 1.031 GB, free: 10.46 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07733/1.159, allocations: 36.78 MB / 1.067 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.37/15.53, allocations: 9.344 kB / 1.067 GB, free: 13.14 MB / 0.7794 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Sources_Examples_Outside_CpLowRise.fmu > BuildingSystems_BuildingSystems.Fluid.Sources.Examples.Outside_CpLowRise.pipe 2>&1)