Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/IDEAS 3.0.0-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.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.0009221/0.0009222, allocations: 98.88 kB / 16.02 MB, free: 76 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.001015/0.001015, allocations: 182.9 kB / 16.92 MB, free: 6.672 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.339/1.339, allocations: 223.3 MB / 241 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9487/0.9487, allocations: 135.3 MB / 427.4 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.0003319, allocations: 8.188 kB / 0.5082 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.176/0.1764, allocations: 82.32 MB / 0.5886 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3733/0.5497, allocations: 59.72 MB / 0.6469 GB, free: 17.32 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.014/0.5638, allocations: 11.91 MB / 0.6586 GB, free: 8.777 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00249/0.5663, allocations: 52.47 kB / 0.6586 GB, free: 8.754 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.5681, allocations: 0.5477 MB / 0.6591 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004909/0.5731, allocations: 1.797 MB / 0.6609 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002709/0.5758, allocations: 1.087 MB / 0.662 GB, free: 6.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00481/0.5806, allocations: 3.906 MB / 0.6658 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001622/0.5823, allocations: 0.8976 MB / 0.6667 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003093/0.5854, allocations: 1.113 MB / 0.6677 GB, free: 4.289 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.5876, allocations: 0.8631 MB / 0.6686 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002133/0.5878, allocations: 41.97 kB / 0.6686 GB, free: 3.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003645/0.5915, allocations: 1.342 MB / 0.6699 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002843/0.5918, allocations: 207.3 kB / 0.6701 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001097/0.5929, allocations: 0.6333 MB / 0.6708 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003229/0.5961, allocations: 1.698 MB / 0.6724 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.5961, allocations: 1.219 kB / 0.6724 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of FrontEnd: time 4.038e-06/0.5961, allocations: 0 / 0.6724 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.557e-05/0.5962, allocations: 7.938 kB / 0.6724 GB, free: 2.543 MB / 0.4981 GB 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.003327/0.5995, allocations: 1.481 MB / 0.6739 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.294e-05/0.5996, allocations: 9.094 kB / 0.6739 GB, free: 1.527 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002391/0.602, allocations: 474.8 kB / 0.6743 GB, free: 1.434 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00228/0.6043, allocations: 1.135 MB / 0.6754 GB, free: 0.7148 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.6046, allocations: 132.3 kB / 0.6756 GB, free: 0.6797 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001298/0.6048, allocations: 79.91 kB / 0.6756 GB, free: 0.6562 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002193/0.607, allocations: 1.009 MB / 0.6766 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.939e-05/0.607, allocations: 1.25 kB / 0.6766 GB, free: 200 kB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/0.6071, allocations: 35.88 kB / 0.6767 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.6071, allocations: 19.59 kB / 0.6767 GB, free: 172 kB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002517/0.6096, allocations: 0.9176 MB / 0.6776 GB, free: 15.88 MB / 0.5137 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.007441/0.6171, allocations: 4.904 MB / 0.6824 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003673/0.6208, allocations: 0.8986 MB / 0.6832 GB, free: 11.96 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/0.6217, allocations: 325.5 kB / 0.6836 GB, free: 11.86 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000733/0.6224, allocations: 0.9053 MB / 0.6844 GB, free: 10.82 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.431e-05/0.6225, allocations: 45.95 kB / 0.6845 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 1.893e-06/0.6225, allocations: 0 / 0.6845 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.009486/0.632, allocations: 2.17 MB / 0.6866 GB, free: 10.24 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.281e-05/0.632, allocations: 56.03 kB / 0.6867 GB, free: 10.18 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001886/0.6339, allocations: 1.057 MB / 0.6877 GB, free: 9.746 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 9.974e-05/0.634, allocations: 38.11 kB / 0.6877 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004656/0.6345, allocations: 0.5231 MB / 0.6882 GB, free: 9.293 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001538/0.6347, allocations: 153.3 kB / 0.6884 GB, free: 9.172 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.969e-05/0.6348, allocations: 47.59 kB / 0.6884 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6349, allocations: 326.1 kB / 0.6887 GB, free: 8.828 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009899/0.6359, allocations: 332.5 kB / 0.689 GB, free: 8.73 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/0.6371, allocations: 0.5239 MB / 0.6896 GB, free: 8.402 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001899/0.639, allocations: 0.7343 MB / 0.6903 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/0.639, allocations: 1.5 kB / 0.6903 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003239/0.6423, allocations: 1.051 MB / 0.6913 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001515/0.6424, allocations: 213.8 kB / 0.6915 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.289e-05/0.6424, allocations: 4.219 kB / 0.6915 GB, free: 7.41 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001447/0.6439, allocations: 336 kB / 0.6918 GB, free: 7.332 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005957/0.6445, allocations: 131 kB / 0.692 GB, free: 7.316 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001728/0.6462, allocations: 0.9441 MB / 0.6929 GB, free: 6.648 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001671/0.6479, allocations: 189.2 kB / 0.6931 GB, free: 6.598 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.892e-05/0.648, allocations: 33.41 kB / 0.6931 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.648, allocations: 8.781 kB / 0.6931 GB, free: 6.586 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002631/0.6507, allocations: 0.9108 MB / 0.694 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.6507, allocations: 3.719 kB / 0.694 GB, free: 6.301 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00118/0.6519, allocations: 337.2 kB / 0.6943 GB, free: 6.215 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005218/0.6524, allocations: 123.2 kB / 0.6944 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001522/0.654, allocations: 0.9406 MB / 0.6954 GB, free: 5.543 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001495/0.6555, allocations: 169 kB / 0.6955 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.496e-05/0.6555, allocations: 29.12 kB / 0.6955 GB, free: 5.492 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.0007779/0.6563, allocations: 356.2 kB / 0.6959 GB, free: 5.203 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002137/0.6566, allocations: 112.2 kB / 0.696 GB, free: 5.145 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.6607, allocations: 1.209 MB / 0.6972 GB, free: 4.766 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.695e-05/0.6607, allocations: 9.375 kB / 0.6972 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.6607, allocations: 1.156 kB / 0.6972 GB, free: 4.762 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.708e-06/0.6607, allocations: 7.031 kB / 0.6972 GB, free: 4.758 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005972/0.6667, allocations: 2.292 MB / 0.6994 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.115e-05/0.6667, allocations: 3.156 kB / 0.6994 GB, free: 3.73 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003026/0.6671, allocations: 71.39 kB / 0.6995 GB, free: 3.723 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001144/0.6682, allocations: 332.4 kB / 0.6998 GB, free: 3.637 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.463e-05/0.6683, allocations: 21.16 kB / 0.6998 GB, free: 3.625 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001567/0.6698, allocations: 0.9622 MB / 0.7008 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.938e-06/0.6699, allocations: 1.75 kB / 0.7008 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004056/0.6739, allocations: 1.287 MB / 0.702 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000686/0.6746, allocations: 284.6 kB / 0.7023 GB, free: 2.203 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001286/0.6748, allocations: 12.62 kB / 0.7023 GB, free: 2.195 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009474/0.6757, allocations: 118.4 kB / 0.7024 GB, free: 2.172 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.598e-05/0.6758, allocations: 40.66 kB / 0.7025 GB, free: 2.16 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.578e-05/0.6759, allocations: 23.61 kB / 0.7025 GB, free: 2.152 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001305/0.6772, allocations: 0.7462 MB / 0.7032 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.91e-07/0.6772, allocations: 1.438 kB / 0.7032 GB, free: 1.73 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001811/0.679, allocations: 0.5554 MB / 0.7038 GB, free: 1.617 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.000861/0.6799, allocations: 387.5 kB / 0.7041 GB, free: 1.398 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003342/0.6832, allocations: 1.17 MB / 0.7053 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 6.603e-06/0.6833, allocations: 3.984 kB / 0.7053 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0009499/0.6842, allocations: 374.7 kB / 0.7056 GB, free: 0.7383 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003025/0.6872, allocations: 0.5062 MB / 0.7061 GB, free: 500 kB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005704/0.693, allocations: 2.573 MB / 0.7086 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000537/0.6935, allocations: 1.062 MB / 0.7097 GB, free: 13.94 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002886/0.6938, allocations: 84.98 kB / 0.7098 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of SimCode: time 1.173e-06/0.6938, allocations: 0 / 0.7098 GB, free: 13.92 MB / 0.5294 GB Notification: Performance of Templates: time 0.03165/0.7255, allocations: 23.85 MB / 0.733 GB, free: 7.359 MB / 0.545 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)