Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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_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.005854/0.005854, allocations: 101.3 kB / 15.73 MB, free: 6.441 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.001298/0.001299, allocations: 195.8 kB / 16.68 MB, free: 6.355 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.456/1.456, allocations: 222.9 MB / 240.4 MB, free: 4.289 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7851/0.7851, allocations: 132.2 MB / 422.7 MB, free: 1.66 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001203/0.001203, allocations: 62.97 kB / 0.5814 GB, free: 0.832 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.1971, allocations: 80.2 MB / 0.6597 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.06127/0.2584, allocations: 61.21 MB / 0.7195 GB, free: 48 kB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01825/0.2767, allocations: 11.98 MB / 0.7312 GB, free: 4.035 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002981/0.2797, allocations: 59.62 kB / 0.7312 GB, free: 3.977 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002678/0.2824, allocations: 0.6947 MB / 0.7319 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007014/0.2895, allocations: 2.062 MB / 0.7339 GB, free: 1.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003673/0.2932, allocations: 1.209 MB / 0.7351 GB, free: 8 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007329/0.3006, allocations: 3.087 MB / 0.7381 GB, free: 12.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002873/0.3035, allocations: 1.115 MB / 0.7392 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004329/0.3078, allocations: 1.362 MB / 0.7405 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002716/0.3106, allocations: 0.8984 MB / 0.7414 GB, free: 9.504 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007152/0.3113, allocations: 116 kB / 0.7415 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004722/0.316, allocations: 1.45 MB / 0.7429 GB, free: 7.938 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0007095/0.3168, allocations: 298.8 kB / 0.7432 GB, free: 7.645 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.00175/0.3185, allocations: 0.6958 MB / 0.7439 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005268/0.3238, allocations: 2.318 MB / 0.7462 GB, free: 4.621 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.385e-06/0.3238, allocations: 4 kB / 0.7462 GB, free: 4.617 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3238, allocations: 3.938 kB / 0.7462 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.06e-05/0.3239, allocations: 0 / 0.7462 GB, free: 4.613 MB / 0.5762 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.004801/0.3287, allocations: 1.729 MB / 0.7479 GB, free: 2.824 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.3288, allocations: 12.03 kB / 0.7479 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002374/0.3312, allocations: 410.6 kB / 0.7483 GB, free: 2.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002847/0.334, allocations: 1.167 MB / 0.7494 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.366e-05/0.3341, allocations: 58 kB / 0.7495 GB, free: 1.129 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001751/0.3343, allocations: 84 kB / 0.7495 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002322/0.3366, allocations: 1.001 MB / 0.7505 GB, free: 15.99 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.3367, allocations: 4 kB / 0.7505 GB, free: 15.98 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.46e-05/0.3368, allocations: 32 kB / 0.7505 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.882e-05/0.3368, allocations: 20 kB / 0.7506 GB, free: 15.93 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002329/0.3391, allocations: 0.8585 MB / 0.7514 GB, free: 15.07 MB / 0.5919 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.007372/0.3465, allocations: 5.224 MB / 0.7565 GB, free: 9.477 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.3496, allocations: 0.79 MB / 0.7573 GB, free: 8.68 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006758/0.3503, allocations: 296.7 kB / 0.7576 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007825/0.3511, allocations: 0.9024 MB / 0.7584 GB, free: 7.281 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.3512, allocations: 50.48 kB / 0.7585 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 3.106e-06/0.3512, allocations: 0 / 0.7585 GB, free: 7.223 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.007877/0.3591, allocations: 1.853 MB / 0.7603 GB, free: 5.34 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.761e-05/0.3591, allocations: 59.39 kB / 0.7604 GB, free: 5.27 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002244/0.3614, allocations: 1.076 MB / 0.7614 GB, free: 4.18 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 8.487e-05/0.3615, allocations: 41.64 kB / 0.7614 GB, free: 4.133 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004863/0.362, allocations: 0.5234 MB / 0.762 GB, free: 3.605 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001574/0.3621, allocations: 153.8 kB / 0.7621 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002701/0.3624, allocations: 142.2 kB / 0.7622 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.3626, allocations: 325.9 kB / 0.7625 GB, free: 2.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008679/0.3634, allocations: 315.2 kB / 0.7628 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.3645, allocations: 0.5252 MB / 0.7634 GB, free: 2.051 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001627/0.3661, allocations: 0.7153 MB / 0.7641 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/0.3662, allocations: 7.938 kB / 0.7641 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.0037/0.3699, allocations: 1.141 MB / 0.7652 GB, free: 112 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.477e-05/0.3699, allocations: 4 kB / 0.7652 GB, free: 108 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.218e-05/0.3699, allocations: 8 kB / 0.7652 GB, free: 100 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001355/0.3713, allocations: 320.5 kB / 0.7655 GB, free: 15.78 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005517/0.3719, allocations: 127.8 kB / 0.7656 GB, free: 15.66 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.3733, allocations: 0.9026 MB / 0.7665 GB, free: 14.73 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001289/0.3746, allocations: 155.2 kB / 0.7667 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001152/0.3747, allocations: 35.98 kB / 0.7667 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001271/0.376, allocations: 0.5051 MB / 0.7672 GB, free: 14.04 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001016/0.377, allocations: 0.5265 MB / 0.7677 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001532/0.3786, allocations: 0.7056 MB / 0.7684 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.951e-06/0.3786, allocations: 0 / 0.7684 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003436/0.382, allocations: 1.125 MB / 0.7695 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3821, allocations: 8 kB / 0.7695 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.3821, allocations: 4 kB / 0.7695 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001103/0.3832, allocations: 308.6 kB / 0.7698 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005427/0.3837, allocations: 131.8 kB / 0.7699 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001328/0.3851, allocations: 0.8919 MB / 0.7708 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001279/0.3864, allocations: 139.5 kB / 0.7709 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.671e-05/0.3865, allocations: 35.92 kB / 0.771 GB, free: 9.969 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0002685/0.3868, allocations: 224.1 kB / 0.7712 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.3871, allocations: 110.7 kB / 0.7713 GB, free: 9.633 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003629/0.3907, allocations: 1.098 MB / 0.7723 GB, free: 8.516 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/0.3907, allocations: 4 kB / 0.7723 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.405e-06/0.3907, allocations: 0 / 0.7723 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.3908, allocations: 7.984 kB / 0.7724 GB, free: 8.504 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.396, allocations: 2.18 MB / 0.7745 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.396, allocations: 0 / 0.7745 GB, free: 6.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002841/0.3963, allocations: 71.83 kB / 0.7746 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009887/0.3973, allocations: 303 kB / 0.7748 GB, free: 5.875 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.607e-05/0.3974, allocations: 12 kB / 0.7749 GB, free: 5.863 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001372/0.3988, allocations: 0.923 MB / 0.7758 GB, free: 4.914 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.039e-06/0.3988, allocations: 3.938 kB / 0.7758 GB, free: 4.91 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003384/0.4022, allocations: 1.173 MB / 0.7769 GB, free: 3.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006/0.4028, allocations: 271.5 kB / 0.7772 GB, free: 3.406 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002802/0.4031, allocations: 16 kB / 0.7772 GB, free: 3.391 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009236/0.404, allocations: 59.92 kB / 0.7772 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.594e-05/0.4041, allocations: 47.83 kB / 0.7773 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.866e-05/0.4042, allocations: 19.98 kB / 0.7773 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001436/0.4056, allocations: 0.759 MB / 0.778 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.4056, allocations: 0 / 0.778 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00204/0.4077, allocations: 0.5654 MB / 0.7786 GB, free: 1.934 MB / 0.6075 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.001032/0.4087, allocations: 394 kB / 0.779 GB, free: 1.555 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003412/0.4122, allocations: 1.132 MB / 0.7801 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.23e-06/0.4122, allocations: 0 / 0.7801 GB, free: 432 kB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009461/0.4131, allocations: 347 kB / 0.7804 GB, free: 88 kB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002555/0.4157, allocations: 0.5207 MB / 0.7809 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005589/0.4213, allocations: 2.019 MB / 0.7829 GB, free: 13.51 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008261/0.4221, allocations: 1.057 MB / 0.7839 GB, free: 12.43 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001091/0.4232, allocations: 232.7 kB / 0.7841 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002811/0.4235, allocations: 75.42 kB / 0.7842 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of SimCode: time 1.333e-06/0.4236, allocations: 0 / 0.7842 GB, free: 12.12 MB / 0.6231 GB Notification: Performance of Templates: time 0.04498/0.4685, allocations: 25.27 MB / 0.8089 GB, free: 3.156 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)