Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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: translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007752/0.0007752, allocations: 91.06 kB / 15.36 MB, free: 0.7383 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.005132/0.005133, allocations: 171.6 kB / 16.26 MB, free: 6.613 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.333/1.333, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001714/0.001714, allocations: 262.9 kB / 291.7 MB, free: 1.887 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9345/0.9345, allocations: 169.5 MB / 0.5004 GB, free: 14.13 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005172/0.0005172, allocations: 17.94 kB / 0.5986 GB, free: 27.97 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1925/0.1931, allocations: 88.55 MB / 0.6851 GB, free: 15.08 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05529/0.2484, allocations: 59.72 MB / 0.7434 GB, free: 3.184 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01529/0.2637, allocations: 11.92 MB / 0.7551 GB, free: 7.234 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001832/0.2656, allocations: 55.62 kB / 0.7551 GB, free: 7.18 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00162/0.2672, allocations: 0.536 MB / 0.7557 GB, free: 6.641 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004958/0.2722, allocations: 1.813 MB / 0.7574 GB, free: 4.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.2749, allocations: 1.081 MB / 0.7585 GB, free: 3.754 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.3208/0.5958, allocations: 3.899 MB / 0.7623 GB, free: 24.03 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002345/0.5982, allocations: 0.8957 MB / 0.7632 GB, free: 23.95 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00316/0.6013, allocations: 1.117 MB / 0.7643 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002202/0.6036, allocations: 0.8538 MB / 0.7651 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002324/0.6038, allocations: 41.06 kB / 0.7651 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003426/0.6072, allocations: 1.347 MB / 0.7665 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0004113/0.6077, allocations: 211.6 kB / 0.7667 GB, free: 23.94 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.6088, allocations: 0.6322 MB / 0.7673 GB, free: 23.76 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.00437/0.6132, allocations: 2.204 MB / 0.7694 GB, free: 23.55 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6133, allocations: 0 / 0.7694 GB, free: 23.55 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.565e-06/0.6133, allocations: 0 / 0.7694 GB, free: 23.55 MB / 0.545 GB Notification: Performance of Transformations before backend: time 3.504e-05/0.6133, allocations: 0.8125 kB / 0.7694 GB, free: 23.55 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003604/0.6169, allocations: 1.493 MB / 0.7709 GB, free: 22.68 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.868e-05/0.617, allocations: 10.72 kB / 0.7709 GB, free: 22.68 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.6196, allocations: 467.6 kB / 0.7713 GB, free: 22.59 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00274/0.6223, allocations: 1.134 MB / 0.7724 GB, free: 22.21 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003979/0.6227, allocations: 135.2 kB / 0.7726 GB, free: 22.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001455/0.6229, allocations: 77.66 kB / 0.7726 GB, free: 22.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002294/0.6252, allocations: 1.006 MB / 0.7736 GB, free: 22.03 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.6252, allocations: 5.5 kB / 0.7736 GB, free: 22.03 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.581e-05/0.6253, allocations: 32.94 kB / 0.7737 GB, free: 22.03 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.048e-05/0.6253, allocations: 17.25 kB / 0.7737 GB, free: 22.03 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002469/0.6278, allocations: 0.9227 MB / 0.7746 GB, free: 22 MB / 0.545 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.006962/0.6348, allocations: 4.905 MB / 0.7794 GB, free: 19.29 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003672/0.6385, allocations: 0.9081 MB / 0.7803 GB, free: 19.23 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007506/0.6392, allocations: 320.2 kB / 0.7806 GB, free: 19.21 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004734/0.6397, allocations: 0.9058 MB / 0.7815 GB, free: 18.18 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.6398, allocations: 35.69 kB / 0.7815 GB, free: 18.14 MB / 0.545 GB Notification: Performance of pre-optimization done (n=44): time 2.194e-06/0.6398, allocations: 2.25 kB / 0.7815 GB, free: 18.14 MB / 0.545 GB Notification: Performance of matching and sorting (n=44): time 0.008849/0.6486, allocations: 2.178 MB / 0.7836 GB, free: 17.84 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.6487, allocations: 60.64 kB / 0.7837 GB, free: 17.77 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001575/0.6503, allocations: 1.053 MB / 0.7847 GB, free: 17.62 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.062e-05/0.6504, allocations: 36.7 kB / 0.7847 GB, free: 17.59 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003662/0.6507, allocations: 0.5218 MB / 0.7852 GB, free: 17.4 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.6509, allocations: 151.1 kB / 0.7854 GB, free: 17.3 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.672e-05/0.6509, allocations: 50.31 kB / 0.7854 GB, free: 17.29 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 5.671e-05/0.651, allocations: 326.1 kB / 0.7857 GB, free: 16.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008881/0.6519, allocations: 323.2 kB / 0.7861 GB, free: 16.98 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.6529, allocations: 0.5383 MB / 0.7866 GB, free: 16.73 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001621/0.6546, allocations: 0.7236 MB / 0.7873 GB, free: 16.57 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.607e-06/0.6546, allocations: 1.312 kB / 0.7873 GB, free: 16.57 MB / 0.545 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002954/0.6575, allocations: 1.055 MB / 0.7883 GB, free: 16.43 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 9.494e-05/0.6576, allocations: 208.2 kB / 0.7885 GB, free: 16.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.338e-05/0.6577, allocations: 3.969 kB / 0.7885 GB, free: 16.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001408/0.6591, allocations: 337.9 kB / 0.7888 GB, free: 16.18 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005391/0.6596, allocations: 130.1 kB / 0.789 GB, free: 16.17 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001402/0.661, allocations: 0.9409 MB / 0.7899 GB, free: 15.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001515/0.6626, allocations: 198.5 kB / 0.7901 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.071e-05/0.6626, allocations: 32.5 kB / 0.7901 GB, free: 15.58 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.033e-05/0.6627, allocations: 5.188 kB / 0.7901 GB, free: 15.58 MB / 0.545 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002516/0.6652, allocations: 0.9126 MB / 0.791 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.264e-06/0.6652, allocations: 8.719 kB / 0.791 GB, free: 15.54 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.6663, allocations: 333.6 kB / 0.7913 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005016/0.6668, allocations: 123.4 kB / 0.7914 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001337/0.6682, allocations: 0.9378 MB / 0.7924 GB, free: 14.97 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.6695, allocations: 171.3 kB / 0.7925 GB, free: 14.93 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.6696, allocations: 29.41 kB / 0.7926 GB, free: 14.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0005551/0.6701, allocations: 352.2 kB / 0.7929 GB, free: 14.74 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001912/0.6703, allocations: 110.4 kB / 0.793 GB, free: 14.68 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003906/0.6742, allocations: 1.214 MB / 0.7942 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/0.6743, allocations: 5.281 kB / 0.7942 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.676e-06/0.6743, allocations: 1.062 kB / 0.7942 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.095e-06/0.6743, allocations: 6.609 kB / 0.7942 GB, free: 14.56 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005254/0.6795, allocations: 2.284 MB / 0.7964 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.354e-06/0.6796, allocations: 2.375 kB / 0.7964 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002894/0.6799, allocations: 71.38 kB / 0.7965 GB, free: 14.12 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001063/0.6809, allocations: 329 kB / 0.7968 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.759e-05/0.681, allocations: 17.83 kB / 0.7968 GB, free: 14.09 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001344/0.6823, allocations: 0.9755 MB / 0.7978 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.6824, allocations: 2.75 kB / 0.7978 GB, free: 13.55 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003741/0.6861, allocations: 1.29 MB / 0.799 GB, free: 13.21 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000558/0.6867, allocations: 283.9 kB / 0.7993 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001368/0.6868, allocations: 13.95 kB / 0.7993 GB, free: 13.05 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000928/0.6877, allocations: 114.8 kB / 0.7994 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.07e-05/0.6878, allocations: 39.12 kB / 0.7995 GB, free: 13.04 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.209e-05/0.6879, allocations: 29.66 kB / 0.7995 GB, free: 13.04 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001122/0.689, allocations: 0.7451 MB / 0.8002 GB, free: 12.92 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.91e-07/0.689, allocations: 0 / 0.8002 GB, free: 12.92 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001606/0.6906, allocations: 0.5628 MB / 0.8008 GB, free: 12.84 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.000761/0.6914, allocations: 391.5 kB / 0.8012 GB, free: 12.69 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002963/0.6944, allocations: 1.171 MB / 0.8023 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.6944, allocations: 0 / 0.8023 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0008353/0.6952, allocations: 381.8 kB / 0.8027 GB, free: 12.63 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002722/0.698, allocations: 0.4939 MB / 0.8031 GB, free: 12.59 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00514/0.7031, allocations: 2.54 MB / 0.8056 GB, free: 11.24 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004238/0.7036, allocations: 1.062 MB / 0.8067 GB, free: 10.38 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0009836/0.7046, allocations: 232.1 kB / 0.8069 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001802/0.7048, allocations: 76.8 kB / 0.807 GB, free: 10.26 MB / 0.545 GB Notification: Performance of SimCode: time 7.12e-07/0.7048, allocations: 0 / 0.807 GB, free: 10.26 MB / 0.545 GB Notification: Performance of Templates: time 0.03412/0.7389, allocations: 24.12 MB / 0.8305 GB, free: 9.648 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)