Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.0009495/0.0009495, allocations: 98.5 kB / 16.02 MB, free: 80 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.00102/0.00102, allocations: 178.9 kB / 16.92 MB, free: 6.918 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.346/1.346, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6867/0.6867, allocations: 115.5 MB / 407.6 MB, free: 2.68 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003011/0.0003011, allocations: 8 kB / 495.9 MB, free: 6.363 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.1535, allocations: 77.54 MB / 0.56 GB, free: 9.027 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.34/0.4935, allocations: 59.69 MB / 0.6182 GB, free: 15.77 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.01872/0.5123, allocations: 11.93 MB / 0.6299 GB, free: 7.191 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002545/0.5149, allocations: 53.62 kB / 0.63 GB, free: 7.168 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00164/0.5165, allocations: 0.5486 MB / 0.6305 GB, free: 6.836 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005351/0.5219, allocations: 1.798 MB / 0.6322 GB, free: 5.766 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003012/0.5249, allocations: 1.079 MB / 0.6333 GB, free: 5.078 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005212/0.5301, allocations: 3.901 MB / 0.6371 GB, free: 2.898 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.5316, allocations: 0.9106 MB / 0.638 GB, free: 2.316 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00249/0.5341, allocations: 1.111 MB / 0.6391 GB, free: 1.676 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001149/0.5352, allocations: 0.8588 MB / 0.6399 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000106/0.5353, allocations: 42.5 kB / 0.64 GB, free: 1.176 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002655/0.538, allocations: 1.343 MB / 0.6413 GB, free: 420 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002114/0.5382, allocations: 211.9 kB / 0.6415 GB, free: 260 kB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006561/0.5389, allocations: 0.635 MB / 0.6421 GB, free: 15.84 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002828/0.5417, allocations: 2.196 MB / 0.6442 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.705e-06/0.5417, allocations: 0 / 0.6442 GB, free: 14.41 MB / 478.1 MB Notification: Performance of FrontEnd: time 8.52e-07/0.5418, allocations: 1.344 kB / 0.6442 GB, free: 14.41 MB / 478.1 MB Notification: Performance of Transformations before backend: time 1.567e-05/0.5418, allocations: 0 / 0.6442 GB, free: 14.41 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002622/0.5444, allocations: 1.492 MB / 0.6457 GB, free: 13.23 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.5445, allocations: 10 kB / 0.6457 GB, free: 13.23 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002328/0.5468, allocations: 472 kB / 0.6462 GB, free: 13.04 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002191/0.549, allocations: 1.139 MB / 0.6473 GB, free: 12.12 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003602/0.5494, allocations: 131.1 kB / 0.6474 GB, free: 12.07 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.5495, allocations: 82.28 kB / 0.6475 GB, free: 12.04 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002087/0.5516, allocations: 1.008 MB / 0.6485 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.863e-05/0.5516, allocations: 0 / 0.6485 GB, free: 11.41 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.279e-05/0.5517, allocations: 34.41 kB / 0.6485 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.5517, allocations: 19.41 kB / 0.6485 GB, free: 11.38 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002493/0.5542, allocations: 0.9185 MB / 0.6494 GB, free: 10.95 MB / 478.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.007745/0.562, allocations: 4.92 MB / 0.6542 GB, free: 5.77 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003609/0.5656, allocations: 0.894 MB / 0.6551 GB, free: 4.867 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007936/0.5665, allocations: 324.7 kB / 0.6554 GB, free: 4.547 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006942/0.5672, allocations: 0.9063 MB / 0.6563 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.5672, allocations: 42.56 kB / 0.6563 GB, free: 3.387 MB / 478.1 MB Notification: Performance of pre-optimization done (n=44): time 3.136e-06/0.5672, allocations: 4 kB / 0.6563 GB, free: 3.383 MB / 478.1 MB Notification: Performance of matching and sorting (n=44): time 0.009415/0.5766, allocations: 2.169 MB / 0.6584 GB, free: 1.184 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.5767, allocations: 59.41 kB / 0.6585 GB, free: 1.113 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001557/0.5783, allocations: 1.059 MB / 0.6595 GB, free: 40 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.744e-05/0.5783, allocations: 33.7 kB / 0.6596 GB, free: 0 / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004311/0.5788, allocations: 0.5197 MB / 0.6601 GB, free: 15.48 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001388/0.5789, allocations: 161.7 kB / 0.6602 GB, free: 15.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.131e-05/0.579, allocations: 49.69 kB / 0.6603 GB, free: 15.26 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.5791, allocations: 326 kB / 0.6606 GB, free: 14.94 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009562/0.5801, allocations: 324.9 kB / 0.6609 GB, free: 14.62 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/0.5812, allocations: 0.5302 MB / 0.6614 GB, free: 14.01 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00177/0.583, allocations: 0.7365 MB / 0.6621 GB, free: 13.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.722e-06/0.583, allocations: 0 / 0.6621 GB, free: 13.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002869/0.5859, allocations: 1.058 MB / 0.6632 GB, free: 12.14 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.000143/0.5861, allocations: 212.4 kB / 0.6634 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.859e-06/0.5861, allocations: 4 kB / 0.6634 GB, free: 11.88 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001383/0.5875, allocations: 328.6 kB / 0.6637 GB, free: 11.55 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005535/0.588, allocations: 127.8 kB / 0.6638 GB, free: 11.43 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001537/0.5896, allocations: 0.948 MB / 0.6647 GB, free: 10.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001386/0.591, allocations: 195.2 kB / 0.6649 GB, free: 10.26 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.129e-05/0.5911, allocations: 27.98 kB / 0.6649 GB, free: 10.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.718e-06/0.5911, allocations: 6.031 kB / 0.665 GB, free: 10.23 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002573/0.5937, allocations: 0.9022 MB / 0.6658 GB, free: 9.324 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.204e-06/0.5937, allocations: 8 kB / 0.6658 GB, free: 9.316 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001169/0.5949, allocations: 330.3 kB / 0.6662 GB, free: 8.992 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000545/0.5954, allocations: 131.8 kB / 0.6663 GB, free: 8.863 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001475/0.5969, allocations: 0.9309 MB / 0.6672 GB, free: 7.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.5981, allocations: 183.2 kB / 0.6674 GB, free: 7.727 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.293e-05/0.5982, allocations: 31.97 kB / 0.6674 GB, free: 7.695 MB / 494.1 MB 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.0004924/0.5987, allocations: 348.9 kB / 0.6677 GB, free: 7.344 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000158/0.5989, allocations: 110.7 kB / 0.6678 GB, free: 7.234 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0041/0.603, allocations: 1.205 MB / 0.669 GB, free: 6.016 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.37e-05/0.603, allocations: 4 kB / 0.669 GB, free: 6.012 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.603, allocations: 3.984 kB / 0.669 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.443e-06/0.603, allocations: 0 / 0.669 GB, free: 6.008 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005455/0.6085, allocations: 2.288 MB / 0.6713 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.222e-06/0.6085, allocations: 0 / 0.6713 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003095/0.6088, allocations: 75.81 kB / 0.6713 GB, free: 3.559 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00112/0.61, allocations: 336.8 kB / 0.6716 GB, free: 3.227 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.987e-05/0.61, allocations: 19.98 kB / 0.6717 GB, free: 3.207 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001526/0.6115, allocations: 0.962 MB / 0.6726 GB, free: 2.219 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.418e-06/0.6116, allocations: 8.062 kB / 0.6726 GB, free: 2.211 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004009/0.6156, allocations: 1.294 MB / 0.6739 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.6161, allocations: 283.4 kB / 0.6741 GB, free: 0.5742 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001228/0.6162, allocations: 8 kB / 0.6742 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00095/0.6172, allocations: 111.9 kB / 0.6743 GB, free: 468 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.565e-05/0.6173, allocations: 43.61 kB / 0.6743 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.483e-05/0.6173, allocations: 23.98 kB / 0.6743 GB, free: 400 kB / 494.1 MB Notification: Performance of sorting global known variables: time 0.001177/0.6185, allocations: 0.7468 MB / 0.6751 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6185, allocations: 0 / 0.6751 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001583/0.6201, allocations: 0.5613 MB / 0.6756 GB, free: 15.07 MB / 0.4981 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.0007906/0.6209, allocations: 388.8 kB / 0.676 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003334/0.6243, allocations: 1.168 MB / 0.6771 GB, free: 13.54 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.668e-06/0.6243, allocations: 3.938 kB / 0.6771 GB, free: 13.53 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0009303/0.6252, allocations: 370.4 kB / 0.6775 GB, free: 13.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002979/0.6282, allocations: 0.506 MB / 0.678 GB, free: 12.68 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005814/0.634, allocations: 2.552 MB / 0.6805 GB, free: 10.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006599/0.6347, allocations: 1.058 MB / 0.6815 GB, free: 8.984 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0009947/0.6357, allocations: 230.8 kB / 0.6817 GB, free: 8.762 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001953/0.6359, allocations: 79.41 kB / 0.6818 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of SimCode: time 1.322e-06/0.6359, allocations: 0 / 0.6818 GB, free: 8.684 MB / 0.4981 GB Notification: Performance of Templates: time 0.03951/0.6755, allocations: 24.06 MB / 0.7053 GB, free: 0.8945 MB / 0.5137 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)