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.001719/0.001719, allocations: 105.4 kB / 16.64 MB, free: 6.816 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.002002/0.002002, allocations: 194 kB / 17.57 MB, free: 5.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.349/1.349, allocations: 222.9 MB / 241.3 MB, free: 13.72 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.739/0.739, allocations: 122.9 MB / 414.2 MB, free: 44 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001575/0.001575, allocations: 67.91 kB / 0.4912 GB, free: 7.809 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4047/0.4063, allocations: 77.93 MB / 0.5673 GB, free: 32.05 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05653/0.4629, allocations: 60.66 MB / 0.6266 GB, free: 14.21 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01732/0.4803, allocations: 11.92 MB / 0.6382 GB, free: 2.258 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.4833, allocations: 55.62 kB / 0.6383 GB, free: 2.203 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.4858, allocations: 0.5751 MB / 0.6388 GB, free: 1.625 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006592/0.4924, allocations: 1.833 MB / 0.6406 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00341/0.4959, allocations: 1.09 MB / 0.6417 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004766/0.5006, allocations: 3.101 MB / 0.6447 GB, free: 11.59 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00171/0.5024, allocations: 1.102 MB / 0.6458 GB, free: 10.46 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003707/0.5061, allocations: 1.34 MB / 0.6471 GB, free: 9.121 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.5078, allocations: 0.9256 MB / 0.648 GB, free: 8.191 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002103/0.508, allocations: 116 kB / 0.6481 GB, free: 8.078 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.511, allocations: 1.47 MB / 0.6495 GB, free: 6.605 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003237/0.5113, allocations: 298.9 kB / 0.6498 GB, free: 6.312 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008883/0.5122, allocations: 0.6959 MB / 0.6505 GB, free: 5.613 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002667/0.5149, allocations: 1.758 MB / 0.6522 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/0.5149, allocations: 0 / 0.6522 GB, free: 3.852 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.583e-06/0.5149, allocations: 3.938 kB / 0.6522 GB, free: 3.848 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.867e-05/0.515, allocations: 0 / 0.6522 GB, free: 3.848 MB / 494.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.003094/0.5181, allocations: 1.723 MB / 0.6539 GB, free: 2.062 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5181, allocations: 8.625 kB / 0.6539 GB, free: 2.055 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002091/0.5202, allocations: 410.8 kB / 0.6543 GB, free: 1.652 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001996/0.5222, allocations: 1.128 MB / 0.6554 GB, free: 480 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000329/0.5226, allocations: 125.9 kB / 0.6555 GB, free: 352 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001069/0.5227, allocations: 80 kB / 0.6556 GB, free: 272 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.5246, allocations: 0.9817 MB / 0.6566 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.036e-05/0.5247, allocations: 0 / 0.6566 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.089e-05/0.5248, allocations: 32 kB / 0.6566 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.804e-05/0.5248, allocations: 20 kB / 0.6566 GB, free: 15.19 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002113/0.5269, allocations: 0.8703 MB / 0.6575 GB, free: 14.31 MB / 0.4981 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.0064/0.5333, allocations: 4.845 MB / 0.6622 GB, free: 9.121 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003242/0.5366, allocations: 0.7962 MB / 0.663 GB, free: 8.316 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/0.5373, allocations: 300.7 kB / 0.6633 GB, free: 8.02 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006867/0.538, allocations: 0.918 MB / 0.6642 GB, free: 6.898 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.538, allocations: 38.56 kB / 0.6642 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=44): time 2.344e-06/0.538, allocations: 0 / 0.6642 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of matching and sorting (n=44): time 0.008469/0.5465, allocations: 1.938 MB / 0.6661 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.17e-05/0.5466, allocations: 59.41 kB / 0.6661 GB, free: 4.812 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001971/0.5486, allocations: 1.044 MB / 0.6672 GB, free: 3.754 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001047/0.5487, allocations: 37.7 kB / 0.6672 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005253/0.5492, allocations: 0.5235 MB / 0.6677 GB, free: 3.184 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.5494, allocations: 149.8 kB / 0.6679 GB, free: 3.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002692/0.5497, allocations: 134 kB / 0.668 GB, free: 2.898 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.5498, allocations: 322 kB / 0.6683 GB, free: 2.578 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008799/0.5507, allocations: 310.9 kB / 0.6686 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00109/0.5518, allocations: 0.502 MB / 0.6691 GB, free: 1.688 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001603/0.5534, allocations: 0.6857 MB / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.42e-06/0.5535, allocations: 0 / 0.6697 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002834/0.5563, allocations: 0.9805 MB / 0.6707 GB, free: 15.95 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/0.5563, allocations: 8 kB / 0.6707 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.5564, allocations: 4 kB / 0.6707 GB, free: 15.94 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001391/0.5578, allocations: 327.9 kB / 0.671 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000549/0.5583, allocations: 123.8 kB / 0.6711 GB, free: 15.5 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001588/0.5599, allocations: 0.9112 MB / 0.672 GB, free: 14.56 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001428/0.5614, allocations: 175.3 kB / 0.6722 GB, free: 14.39 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.68e-05/0.5615, allocations: 27.98 kB / 0.6722 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001262/0.5627, allocations: 0.501 MB / 0.6727 GB, free: 13.86 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001068/0.5638, allocations: 0.5059 MB / 0.6732 GB, free: 13.27 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001612/0.5654, allocations: 0.667 MB / 0.6739 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.111e-06/0.5655, allocations: 0 / 0.6739 GB, free: 12.54 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002864/0.5683, allocations: 0.9804 MB / 0.6748 GB, free: 11.55 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.912e-05/0.5684, allocations: 8.375 kB / 0.6748 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.5684, allocations: 8 kB / 0.6748 GB, free: 11.54 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001241/0.5696, allocations: 312.6 kB / 0.6751 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005598/0.5702, allocations: 123.7 kB / 0.6753 GB, free: 11.11 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001467/0.5717, allocations: 0.9139 MB / 0.6761 GB, free: 10.17 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001436/0.5731, allocations: 155.6 kB / 0.6763 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.163e-05/0.5732, allocations: 31.98 kB / 0.6763 GB, free: 9.984 MB / 0.5137 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.0002703/0.5735, allocations: 212.1 kB / 0.6765 GB, free: 9.77 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003429/0.5739, allocations: 114.6 kB / 0.6766 GB, free: 9.656 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003891/0.5778, allocations: 1.116 MB / 0.6777 GB, free: 8.527 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.805e-05/0.5778, allocations: 11.94 kB / 0.6777 GB, free: 8.516 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.758e-06/0.5778, allocations: 3.938 kB / 0.6777 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.5778, allocations: 3.984 kB / 0.6777 GB, free: 8.508 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005664/0.5835, allocations: 2.195 MB / 0.6799 GB, free: 6.23 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.17e-05/0.5835, allocations: 4 kB / 0.6799 GB, free: 6.227 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000296/0.5838, allocations: 67.89 kB / 0.68 GB, free: 6.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001109/0.585, allocations: 315.1 kB / 0.6803 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.938e-05/0.585, allocations: 12 kB / 0.6803 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001561/0.5866, allocations: 0.9367 MB / 0.6812 GB, free: 4.879 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.163e-06/0.5866, allocations: 3.938 kB / 0.6812 GB, free: 4.875 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.5905, allocations: 1.189 MB / 0.6823 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007206/0.5912, allocations: 267.5 kB / 0.6826 GB, free: 3.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003126/0.5916, allocations: 11.98 kB / 0.6826 GB, free: 3.344 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001098/0.5927, allocations: 95.89 kB / 0.6827 GB, free: 3.25 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/0.5928, allocations: 35.89 kB / 0.6827 GB, free: 3.215 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.221e-05/0.5929, allocations: 23.98 kB / 0.6828 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001524/0.5944, allocations: 0.735 MB / 0.6835 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.41e-07/0.5944, allocations: 0 / 0.6835 GB, free: 2.449 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002042/0.5965, allocations: 0.5692 MB / 0.684 GB, free: 1.879 MB / 0.5137 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.001075/0.5975, allocations: 384.2 kB / 0.6844 GB, free: 1.508 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00349/0.601, allocations: 1.128 MB / 0.6855 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.462e-06/0.6011, allocations: 0 / 0.6855 GB, free: 392 kB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009657/0.602, allocations: 350.5 kB / 0.6858 GB, free: 40 kB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003006/0.6051, allocations: 0.5105 MB / 0.6863 GB, free: 15.56 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006334/0.6114, allocations: 2.463 MB / 0.6887 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008905/0.6124, allocations: 1.065 MB / 0.6898 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003983/0.6128, allocations: 87.42 kB / 0.6899 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of SimCode: time 2.805e-06/0.6128, allocations: 0 / 0.6899 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of Templates: time 0.03977/0.6526, allocations: 23.96 MB / 0.7133 GB, free: 4.07 MB / 0.545 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)