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.001125/0.001125, allocations: 95.88 kB / 15.68 MB, free: 488 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.001362/0.001362, allocations: 175.9 kB / 16.57 MB, free: 6.391 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.324/1.324, allocations: 223.2 MB / 240.5 MB, free: 5.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.665/0.665, allocations: 113.8 MB / 405.4 MB, free: 4.488 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002792/0.0002792, allocations: 8 kB / 493 MB, free: 8.535 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1353, allocations: 77.14 MB / 0.5568 GB, free: 11.59 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3043/0.4396, allocations: 51.27 MB / 0.6069 GB, free: 8.359 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01284/0.4525, allocations: 10.32 MB / 0.617 GB, free: 1.039 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001581/0.4541, allocations: 49.81 kB / 0.617 GB, free: 1.016 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.4559, allocations: 0.6258 MB / 0.6176 GB, free: 0.6641 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.005237/0.4612, allocations: 1.944 MB / 0.6195 GB, free: 15.39 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003657/0.4649, allocations: 1.321 MB / 0.6208 GB, free: 14.77 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.00322/0.4681, allocations: 1.844 MB / 0.6226 GB, free: 13.76 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001211/0.4693, allocations: 0.8082 MB / 0.6234 GB, free: 13.43 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.4713, allocations: 0.9833 MB / 0.6244 GB, free: 12.92 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009341/0.4723, allocations: 0.5973 MB / 0.625 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001198/0.4724, allocations: 41.94 kB / 0.625 GB, free: 12.66 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002346/0.4748, allocations: 1.012 MB / 0.626 GB, free: 12.38 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002204/0.475, allocations: 192 kB / 0.6262 GB, free: 12.28 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003208/0.4753, allocations: 291.2 kB / 0.6264 GB, free: 12.11 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001909/0.4773, allocations: 1.588 MB / 0.628 GB, free: 11.08 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.445e-06/0.4773, allocations: 1.031 kB / 0.628 GB, free: 11.08 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.563e-06/0.4773, allocations: 0 / 0.628 GB, free: 11.08 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.931e-05/0.4773, allocations: 0 / 0.628 GB, free: 11.08 MB / 462.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.002621/0.4799, allocations: 1.489 MB / 0.6294 GB, free: 9.922 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.316e-05/0.48, allocations: 9.625 kB / 0.6295 GB, free: 9.922 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002221/0.4822, allocations: 469.9 kB / 0.6299 GB, free: 9.73 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001873/0.4841, allocations: 1.05 MB / 0.6309 GB, free: 8.875 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003653/0.4845, allocations: 124.3 kB / 0.631 GB, free: 8.832 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001191/0.4846, allocations: 82.22 kB / 0.6311 GB, free: 8.805 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.4866, allocations: 1.008 MB / 0.6321 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.743e-05/0.4866, allocations: 1.125 kB / 0.6321 GB, free: 8.16 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.105e-05/0.4867, allocations: 31.47 kB / 0.6321 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.78e-05/0.4867, allocations: 18.69 kB / 0.6322 GB, free: 8.137 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002326/0.4891, allocations: 0.912 MB / 0.633 GB, free: 7.711 MB / 462.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.00623/0.4953, allocations: 4.938 MB / 0.6379 GB, free: 3.328 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003487/0.4988, allocations: 0.9133 MB / 0.6388 GB, free: 2.91 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006152/0.4995, allocations: 0.9021 MB / 0.6396 GB, free: 1.848 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.913e-05/0.4995, allocations: 41.05 kB / 0.6397 GB, free: 1.801 MB / 462.1 MB Notification: Performance of pre-optimization done (n=44): time 2.285e-06/0.4995, allocations: 0 / 0.6397 GB, free: 1.801 MB / 462.1 MB Notification: Performance of matching and sorting (n=44): time 0.008684/0.5082, allocations: 2.158 MB / 0.6418 GB, free: 0.8008 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.965e-05/0.5082, allocations: 59.91 kB / 0.6418 GB, free: 0.7344 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001389/0.5096, allocations: 1.064 MB / 0.6429 GB, free: 144 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 6.074e-05/0.5097, allocations: 36.98 kB / 0.6429 GB, free: 104 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004169/0.5101, allocations: 0.5261 MB / 0.6434 GB, free: 15.64 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000116/0.5103, allocations: 150.1 kB / 0.6436 GB, free: 15.5 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.612e-05/0.5103, allocations: 10.47 kB / 0.6436 GB, free: 15.5 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.5104, allocations: 327.7 kB / 0.6439 GB, free: 15.18 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000888/0.5113, allocations: 324.1 kB / 0.6442 GB, free: 15.03 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/0.5123, allocations: 0.5181 MB / 0.6447 GB, free: 14.64 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009087/0.5132, allocations: 362.8 kB / 0.6451 GB, free: 14.47 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.5133, allocations: 0 / 0.6451 GB, free: 14.47 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002697/0.516, allocations: 1.043 MB / 0.6461 GB, free: 13.6 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005078/0.5165, allocations: 1.584 MB / 0.6476 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.027e-06/0.5165, allocations: 4.094 kB / 0.6476 GB, free: 11.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001316/0.5178, allocations: 339.1 kB / 0.648 GB, free: 11.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005471/0.5184, allocations: 119.9 kB / 0.6481 GB, free: 11.45 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001472/0.5199, allocations: 0.9425 MB / 0.649 GB, free: 10.48 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.5212, allocations: 202.7 kB / 0.6492 GB, free: 10.29 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.586e-05/0.5213, allocations: 31.98 kB / 0.6492 GB, free: 10.25 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.268e-06/0.5213, allocations: 4 kB / 0.6492 GB, free: 10.25 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002465/0.5238, allocations: 0.9061 MB / 0.6501 GB, free: 9.34 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.5238, allocations: 4 kB / 0.6501 GB, free: 9.336 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/0.5249, allocations: 329.1 kB / 0.6504 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005305/0.5255, allocations: 131.8 kB / 0.6505 GB, free: 8.883 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001415/0.5269, allocations: 0.9367 MB / 0.6515 GB, free: 7.922 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001154/0.5281, allocations: 175.3 kB / 0.6516 GB, free: 7.75 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.053e-05/0.5281, allocations: 31.98 kB / 0.6517 GB, free: 7.719 MB / 478.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 (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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004635/0.5286, allocations: 345 kB / 0.652 GB, free: 7.371 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001589/0.5288, allocations: 110.6 kB / 0.6521 GB, free: 7.262 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003847/0.5326, allocations: 1.211 MB / 0.6533 GB, free: 6.043 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.349e-05/0.5327, allocations: 7.984 kB / 0.6533 GB, free: 6.035 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.5327, allocations: 4 kB / 0.6533 GB, free: 6.031 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.354e-06/0.5327, allocations: 4 kB / 0.6533 GB, free: 6.027 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005202/0.5379, allocations: 2.304 MB / 0.6555 GB, free: 3.633 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.835e-06/0.5379, allocations: 4 kB / 0.6555 GB, free: 3.629 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002946/0.5382, allocations: 71.89 kB / 0.6556 GB, free: 3.559 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.5393, allocations: 328.8 kB / 0.6559 GB, free: 3.234 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.5393, allocations: 15.98 kB / 0.6559 GB, free: 3.219 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001422/0.5408, allocations: 0.9687 MB / 0.6569 GB, free: 2.227 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.5408, allocations: 8 kB / 0.6569 GB, free: 2.219 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/0.5445, allocations: 1.401 MB / 0.6583 GB, free: 0.7305 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005308/0.5451, allocations: 291.4 kB / 0.6585 GB, free: 436 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001441/0.5452, allocations: 8 kB / 0.6585 GB, free: 428 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009518/0.5462, allocations: 115.8 kB / 0.6587 GB, free: 312 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-05/0.5463, allocations: 35.73 kB / 0.6587 GB, free: 276 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.5463, allocations: 31.88 kB / 0.6587 GB, free: 244 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001176/0.5475, allocations: 0.7507 MB / 0.6595 GB, free: 15.48 MB / 494.1 MB Notification: Performance of sort global known variables: time 2e-07/0.5475, allocations: 0 / 0.6595 GB, free: 15.48 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001611/0.5491, allocations: 0.5614 MB / 0.66 GB, free: 14.91 MB / 494.1 MB 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 (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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007673/0.5499, allocations: 378.5 kB / 0.6604 GB, free: 14.55 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003175/0.5531, allocations: 1.169 MB / 0.6615 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.5531, allocations: 0 / 0.6615 GB, free: 13.38 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009204/0.5541, allocations: 382.9 kB / 0.6619 GB, free: 13.01 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002276/0.5563, allocations: 0.4935 MB / 0.6624 GB, free: 12.53 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005373/0.5617, allocations: 2.481 MB / 0.6648 GB, free: 9.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005899/0.5623, allocations: 1.089 MB / 0.6658 GB, free: 8.871 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0009528/0.5633, allocations: 224.5 kB / 0.6661 GB, free: 8.648 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001892/0.5635, allocations: 79.41 kB / 0.6661 GB, free: 8.57 MB / 494.1 MB Notification: Performance of SimCode: time 5.41e-07/0.5635, allocations: 0 / 0.6661 GB, free: 8.57 MB / 494.1 MB Notification: Performance of Templates: time 0.03686/0.6004, allocations: 23.46 MB / 0.689 GB, free: 1.391 MB / 0.4981 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)