Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001041/0.001041, allocations: 88.17 kB / 15.7 MB, free: 460 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.0009229/0.0009229, allocations: 173.6 kB / 16.58 MB, free: 6.488 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.349/1.349, allocations: 223.3 MB / 240.6 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7243/0.7243, allocations: 115.5 MB / 407.2 MB, free: 2.871 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003135/0.0003137, allocations: 8.5 kB / 495.2 MB, free: 6.746 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1375/0.1379, allocations: 77.53 MB / 0.5593 GB, free: 9.422 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar): time 0.3119/0.4499, allocations: 69.41 MB / 0.6271 GB, free: 9.273 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01902/0.4689, allocations: 14.2 MB / 0.641 GB, free: 14.52 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001905/0.4709, allocations: 57.62 kB / 0.641 GB, free: 14.49 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001615/0.4725, allocations: 0.5609 MB / 0.6416 GB, free: 14.01 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005365/0.4779, allocations: 1.993 MB / 0.6435 GB, free: 12.41 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002944/0.4808, allocations: 0.9631 MB / 0.6445 GB, free: 11.75 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.005904/0.4867, allocations: 4.809 MB / 0.6492 GB, free: 8.891 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001669/0.4884, allocations: 1.022 MB / 0.6502 GB, free: 8.266 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002557/0.491, allocations: 1.28 MB / 0.6514 GB, free: 7.57 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001599/0.4926, allocations: 1.081 MB / 0.6525 GB, free: 6.949 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001587/0.4928, allocations: 57.5 kB / 0.6525 GB, free: 6.949 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002355/0.4951, allocations: 0.9181 MB / 0.6534 GB, free: 6.477 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000304/0.4954, allocations: 271.8 kB / 0.6537 GB, free: 6.273 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004515/0.4959, allocations: 361.3 kB / 0.654 GB, free: 6.066 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002403/0.4983, allocations: 2.085 MB / 0.6561 GB, free: 4.148 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4983, allocations: 0 / 0.6561 GB, free: 4.148 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.753e-06/0.4983, allocations: 0 / 0.6561 GB, free: 4.148 MB / 478.1 MB Notification: Performance of Transformations before backend: time 2.144e-05/0.4984, allocations: 0 / 0.6561 GB, free: 4.148 MB / 478.1 MB 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.003166/0.5015, allocations: 1.799 MB / 0.6578 GB, free: 2.285 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.341e-05/0.5016, allocations: 15.97 kB / 0.6578 GB, free: 2.27 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007296/0.5023, allocations: 237.9 kB / 0.6581 GB, free: 2.035 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002396/0.5047, allocations: 1.443 MB / 0.6595 GB, free: 0.5352 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.001e-05/0.5048, allocations: 82 kB / 0.6595 GB, free: 468 kB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001504/0.505, allocations: 100 kB / 0.6596 GB, free: 368 kB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.507, allocations: 1.104 MB / 0.6607 GB, free: 15.21 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.701e-05/0.507, allocations: 11.92 kB / 0.6607 GB, free: 15.2 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.132e-05/0.5071, allocations: 43.91 kB / 0.6608 GB, free: 15.16 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.665e-05/0.5072, allocations: 28 kB / 0.6608 GB, free: 15.14 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/0.5091, allocations: 0.9212 MB / 0.6617 GB, free: 14.22 MB / 494.1 MB 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.005893/0.515, allocations: 4.912 MB / 0.6665 GB, free: 9.016 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001409/0.5164, allocations: 0.6315 MB / 0.6671 GB, free: 8.379 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007108/0.5171, allocations: 366.3 kB / 0.6675 GB, free: 8.02 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006162/0.5178, allocations: 0.8316 MB / 0.6683 GB, free: 7.004 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/0.5178, allocations: 47.11 kB / 0.6683 GB, free: 6.949 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 2.224e-06/0.5178, allocations: 0 / 0.6683 GB, free: 6.949 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.006728/0.5245, allocations: 1.885 MB / 0.6702 GB, free: 5.039 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.691e-05/0.5246, allocations: 59.95 kB / 0.6702 GB, free: 4.965 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001622/0.5262, allocations: 1.198 MB / 0.6714 GB, free: 3.75 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.258e-05/0.5263, allocations: 45.7 kB / 0.6714 GB, free: 3.699 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005305/0.5269, allocations: 0.5987 MB / 0.672 GB, free: 3.094 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001955/0.5271, allocations: 209 kB / 0.6722 GB, free: 2.887 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.632e-05/0.5271, allocations: 12 kB / 0.6722 GB, free: 2.875 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001257/0.5272, allocations: 341.9 kB / 0.6725 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006601/0.5279, allocations: 297.8 kB / 0.6728 GB, free: 2.242 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008235/0.5288, allocations: 0.5046 MB / 0.6733 GB, free: 1.656 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007513/0.5295, allocations: 363 kB / 0.6737 GB, free: 1.305 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.398e-06/0.5295, allocations: 0 / 0.6737 GB, free: 1.305 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00461/0.5341, allocations: 1.406 MB / 0.675 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001299/0.5343, allocations: 194.3 kB / 0.6752 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.036e-05/0.5343, allocations: 4 kB / 0.6752 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005658/0.5349, allocations: 149.4 kB / 0.6754 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000628/0.5355, allocations: 167.7 kB / 0.6755 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008718/0.5364, allocations: 0.7157 MB / 0.6762 GB, free: 14.59 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001115/0.5375, allocations: 171 kB / 0.6764 GB, free: 14.42 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.212e-05/0.5376, allocations: 31.98 kB / 0.6764 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.568e-06/0.5376, allocations: 4 kB / 0.6764 GB, free: 14.39 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004256/0.5419, allocations: 1.253 MB / 0.6777 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.5419, allocations: 0 / 0.6777 GB, free: 13.13 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004774/0.5424, allocations: 153 kB / 0.6778 GB, free: 12.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000606/0.543, allocations: 167.8 kB / 0.678 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008116/0.5439, allocations: 0.7123 MB / 0.6787 GB, free: 12.07 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001101/0.545, allocations: 160.8 kB / 0.6788 GB, free: 11.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.439e-05/0.5451, allocations: 35.98 kB / 0.6788 GB, free: 11.88 MB / 0.4981 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.000636/0.5457, allocations: 418.4 kB / 0.6792 GB, free: 11.46 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002471/0.546, allocations: 134.4 kB / 0.6794 GB, free: 11.33 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/0.5504, allocations: 1.401 MB / 0.6807 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.335e-05/0.5504, allocations: 11.98 kB / 0.6807 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.209e-06/0.5505, allocations: 0 / 0.6807 GB, free: 9.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003936/0.5544, allocations: 1.236 MB / 0.682 GB, free: 8.641 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006498/0.5609, allocations: 2.723 MB / 0.6846 GB, free: 5.801 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.758e-06/0.5609, allocations: 4 kB / 0.6846 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005748/0.5615, allocations: 120.2 kB / 0.6847 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004569/0.562, allocations: 144.7 kB / 0.6849 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.42e-05/0.5621, allocations: 23.98 kB / 0.6849 GB, free: 5.512 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004541/0.5666, allocations: 2.484 MB / 0.6873 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.881e-06/0.5666, allocations: 7.938 kB / 0.6873 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00507/0.5717, allocations: 1.84 MB / 0.6891 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006601/0.5724, allocations: 343 kB / 0.6895 GB, free: 0.6133 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002249/0.5726, allocations: 12 kB / 0.6895 GB, free: 0.6016 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008978/0.5735, allocations: 99.81 kB / 0.6896 GB, free: 0.5039 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.5736, allocations: 56.3 kB / 0.6896 GB, free: 460 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.086e-05/0.5737, allocations: 31.94 kB / 0.6896 GB, free: 428 kB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.00137/0.5751, allocations: 0.8624 MB / 0.6905 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.01e-07/0.5751, allocations: 0 / 0.6905 GB, free: 15.55 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002021/0.5771, allocations: 0.7096 MB / 0.6912 GB, free: 14.84 MB / 0.5137 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008128/0.5779, allocations: 413.1 kB / 0.6916 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.002619/0.5806, allocations: 1.16 MB / 0.6927 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5806, allocations: 0 / 0.6927 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.00144/0.582, allocations: 0.6111 MB / 0.6933 GB, free: 12.66 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003361/0.5854, allocations: 0.7569 MB / 0.694 GB, free: 11.92 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004443/0.5899, allocations: 2.762 MB / 0.6967 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008869/0.5908, allocations: 1.175 MB / 0.6979 GB, free: 7.879 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001268/0.5921, allocations: 315 kB / 0.6982 GB, free: 7.566 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002633/0.5923, allocations: 107.4 kB / 0.6983 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of SimCode: time 5.11e-07/0.5923, allocations: 0 / 0.6983 GB, free: 7.461 MB / 0.5137 GB Notification: Performance of Templates: time 0.04732/0.6397, allocations: 29.42 MB / 0.727 GB, free: 10.38 MB / 0.545 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_y_etaCar.pipe 2>&1)