Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 89.66 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.008903/0.008903, allocations: 169.6 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.7 MB / 0.5502 GB, free: 14.48 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005102/0.0005104, allocations: 15.47 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2373/0.2378, allocations: 116.3 MB / 0.7879 GB, free: 11.58 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.07322/0.3111, allocations: 73.5 MB / 0.8596 GB, free: 1.836 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02023/0.3313, allocations: 14.92 MB / 0.8742 GB, free: 2.879 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002911/0.3343, allocations: 55.62 kB / 0.8743 GB, free: 2.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.002619/0.3369, allocations: 0.6876 MB / 0.8749 GB, free: 2.133 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.009228/0.3462, allocations: 2.359 MB / 0.8772 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.004692/0.3509, allocations: 1.278 MB / 0.8785 GB, free: 14.5 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.008499/0.3594, allocations: 5.527 MB / 0.8839 GB, free: 8.953 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002738/0.3622, allocations: 1.155 MB / 0.885 GB, free: 7.766 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003777/0.366, allocations: 1.326 MB / 0.8863 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002873/0.3689, allocations: 1.151 MB / 0.8874 GB, free: 5.277 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 0.0004745/0.3694, allocations: 56 kB / 0.8875 GB, free: 5.223 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003957/0.3733, allocations: 1.236 MB / 0.8887 GB, free: 3.984 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0006561/0.374, allocations: 286.6 kB / 0.889 GB, free: 3.703 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.00181/0.3758, allocations: 0.7945 MB / 0.8897 GB, free: 2.898 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.004909/0.3808, allocations: 2.718 MB / 0.8924 GB, free: 176 kB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.3808, allocations: 4 kB / 0.8924 GB, free: 172 kB / 0.7012 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3808, allocations: 0 / 0.8924 GB, free: 172 kB / 0.7012 GB Notification: Performance of Transformations before backend: time 9.137e-05/0.3809, allocations: 4 kB / 0.8924 GB, free: 168 kB / 0.7012 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004188/0.3851, allocations: 1.779 MB / 0.8941 GB, free: 14.32 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.98e-05/0.3851, allocations: 8.031 kB / 0.8942 GB, free: 14.31 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001095/0.3862, allocations: 238.9 kB / 0.8944 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003383/0.3896, allocations: 1.476 MB / 0.8958 GB, free: 12.55 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.812e-05/0.3897, allocations: 81.98 kB / 0.8959 GB, free: 12.47 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002723/0.39, allocations: 100 kB / 0.896 GB, free: 12.37 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00247/0.3925, allocations: 1.124 MB / 0.8971 GB, free: 11.21 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.354e-05/0.3926, allocations: 7.844 kB / 0.8971 GB, free: 11.2 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.3927, allocations: 40 kB / 0.8971 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.875e-05/0.3927, allocations: 24 kB / 0.8972 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00214/0.3949, allocations: 0.9368 MB / 0.8981 GB, free: 10.21 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.006766/0.4016, allocations: 4.927 MB / 0.9029 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001484/0.4031, allocations: 0.6428 MB / 0.9035 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007402/0.4039, allocations: 374.3 kB / 0.9039 GB, free: 3.973 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006154/0.4045, allocations: 0.8277 MB / 0.9047 GB, free: 2.961 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.365e-05/0.4046, allocations: 39.12 kB / 0.9047 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=61): time 2.485e-06/0.4046, allocations: 0 / 0.9047 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of matching and sorting (n=61): time 0.007692/0.4123, allocations: 1.904 MB / 0.9066 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.186e-05/0.4124, allocations: 55.97 kB / 0.9066 GB, free: 0.9141 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00239/0.4148, allocations: 1.206 MB / 0.9078 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.4149, allocations: 45.7 kB / 0.9079 GB, free: 15.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005634/0.4155, allocations: 0.6065 MB / 0.9084 GB, free: 15.03 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002417/0.4157, allocations: 212.9 kB / 0.9086 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.874e-05/0.4159, allocations: 57.69 kB / 0.9087 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.416, allocations: 345.9 kB / 0.909 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007117/0.4167, allocations: 301.8 kB / 0.9093 GB, free: 14.11 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008885/0.4176, allocations: 0.5091 MB / 0.9098 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.4192, allocations: 0.7481 MB / 0.9105 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.534e-06/0.4192, allocations: 0 / 0.9105 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005061/0.4243, allocations: 1.414 MB / 0.9119 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001316/0.4244, allocations: 202 kB / 0.9121 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.046e-05/0.4244, allocations: 4 kB / 0.9121 GB, free: 11.05 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006356/0.4251, allocations: 144.6 kB / 0.9123 GB, free: 10.91 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006241/0.4257, allocations: 179.6 kB / 0.9124 GB, free: 10.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008721/0.4266, allocations: 0.7085 MB / 0.9131 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/0.4281, allocations: 167 kB / 0.9133 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.413e-05/0.4282, allocations: 35.98 kB / 0.9133 GB, free: 9.797 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.4283, allocations: 4 kB / 0.9133 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004608/0.4329, allocations: 1.257 MB / 0.9146 GB, free: 8.531 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.4329, allocations: 4 kB / 0.9146 GB, free: 8.527 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005391/0.4335, allocations: 148.9 kB / 0.9147 GB, free: 8.379 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006084/0.4341, allocations: 171.7 kB / 0.9149 GB, free: 8.211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008385/0.4349, allocations: 0.7124 MB / 0.9156 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001325/0.4363, allocations: 170.3 kB / 0.9157 GB, free: 7.309 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.073e-05/0.4364, allocations: 31.98 kB / 0.9158 GB, free: 7.277 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0007207/0.4371, allocations: 416.9 kB / 0.9161 GB, free: 6.859 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003438/0.4375, allocations: 130.4 kB / 0.9163 GB, free: 6.73 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004963/0.4424, allocations: 1.416 MB / 0.9177 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.521e-05/0.4425, allocations: 8 kB / 0.9177 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.222e-05/0.4425, allocations: 0 / 0.9177 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004552/0.4471, allocations: 1.228 MB / 0.9189 GB, free: 4.027 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007731/0.4548, allocations: 2.743 MB / 0.9215 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.478e-06/0.4549, allocations: 0 / 0.9215 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.4554, allocations: 127.8 kB / 0.9217 GB, free: 1.047 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005323/0.456, allocations: 140.9 kB / 0.9218 GB, free: 0.9062 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.467e-05/0.4561, allocations: 19.98 kB / 0.9218 GB, free: 0.8867 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.4331/0.8892, allocations: 2.469 MB / 0.9242 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.187e-06/0.8893, allocations: 3.75 kB / 0.9242 GB, free: 132.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007001/0.8963, allocations: 1.855 MB / 0.926 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001252/0.8976, allocations: 330.3 kB / 0.9264 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004587/0.8981, allocations: 17.92 kB / 0.9264 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001255/0.8993, allocations: 96.61 kB / 0.9265 GB, free: 132.3 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000185/0.8995, allocations: 60.72 kB / 0.9265 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001067/0.8997, allocations: 28.7 kB / 0.9266 GB, free: 132.2 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001679/0.9014, allocations: 0.8681 MB / 0.9274 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9014, allocations: 3.734 kB / 0.9274 GB, free: 132.1 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002713/0.9041, allocations: 0.7077 MB / 0.9281 GB, free: 132.1 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001018/0.9051, allocations: 453 kB / 0.9285 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.002828/0.908, allocations: 1.168 MB / 0.9297 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.502e-06/0.908, allocations: 6.844 kB / 0.9297 GB, free: 132 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001573/0.9096, allocations: 0.6022 MB / 0.9303 GB, free: 131.9 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004806/0.9144, allocations: 0.7956 MB / 0.931 GB, free: 131.8 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00375/0.9182, allocations: 2.811 MB / 0.9338 GB, free: 130.1 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007401/0.9189, allocations: 1.166 MB / 0.9349 GB, free: 129.4 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001417/0.9203, allocations: 312.7 kB / 0.9352 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002911/0.9206, allocations: 120.9 kB / 0.9353 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of SimCode: time 7.22e-07/0.9207, allocations: 3.094 kB / 0.9353 GB, free: 129.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.05712/0.9778, allocations: 32.18 MB / 0.9668 GB, free: 114.9 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1) Environment - environmentSimulation: