Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.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_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001444/0.001444, allocations: 105.5 kB / 16.41 MB, free: 6.461 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.001484/0.001484, allocations: 187 kB / 17.34 MB, free: 5.719 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: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.79/0.79, allocations: 132.2 MB / 423.4 MB, free: 6.543 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.47 kB / 0.582 GB, free: 23.73 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1715/0.1727, allocations: 80.23 MB / 0.6604 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature): time 0.06906/0.2418, allocations: 61.24 MB / 0.7202 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01898/0.2608, allocations: 11.99 MB / 0.7319 GB, free: 0.7266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002617/0.2635, allocations: 59.62 kB / 0.7319 GB, free: 0.668 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002396/0.2659, allocations: 0.6869 MB / 0.7326 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006332/0.2723, allocations: 1.959 MB / 0.7345 GB, free: 14.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003661/0.276, allocations: 1.219 MB / 0.7357 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005061/0.281, allocations: 3.091 MB / 0.7387 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002127/0.2832, allocations: 1.112 MB / 0.7398 GB, free: 8.555 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003751/0.287, allocations: 1.372 MB / 0.7412 GB, free: 7.18 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002017/0.289, allocations: 0.8983 MB / 0.742 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004469/0.2895, allocations: 116 kB / 0.7421 GB, free: 6.164 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003613/0.2931, allocations: 1.435 MB / 0.7435 GB, free: 4.727 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005675/0.2937, allocations: 302.8 kB / 0.7438 GB, free: 4.43 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001555/0.2952, allocations: 0.6997 MB / 0.7445 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005395/0.3006, allocations: 2.322 MB / 0.7468 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 8.075e-06/0.3007, allocations: 0 / 0.7468 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.416e-06/0.3007, allocations: 0 / 0.7468 GB, free: 1.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.046e-05/0.3008, allocations: 0 / 0.7468 GB, free: 1.398 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.3851/0.6859, allocations: 1.748 MB / 0.7485 GB, free: 86.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.76e-05/0.6859, allocations: 9.797 kB / 0.7485 GB, free: 86.57 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002744/0.6887, allocations: 416.1 kB / 0.7489 GB, free: 86.5 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003026/0.6917, allocations: 1.168 MB / 0.75 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.838e-05/0.6918, allocations: 64.12 kB / 0.7501 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001563/0.692, allocations: 79.28 kB / 0.7502 GB, free: 86.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002558/0.6946, allocations: 1.021 MB / 0.7512 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.286e-05/0.6946, allocations: 5.438 kB / 0.7512 GB, free: 85.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.435e-05/0.6947, allocations: 33.78 kB / 0.7512 GB, free: 85.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.91e-05/0.6947, allocations: 19.38 kB / 0.7512 GB, free: 85.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002566/0.6973, allocations: 0.89 MB / 0.7521 GB, free: 85.49 MB / 0.5762 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.007344/0.7047, allocations: 5.234 MB / 0.7572 GB, free: 81.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003645/0.7083, allocations: 0.782 MB / 0.758 GB, free: 81.29 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000862/0.7092, allocations: 311.7 kB / 0.7583 GB, free: 81.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005158/0.7097, allocations: 0.9053 MB / 0.7592 GB, free: 80.15 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/0.7098, allocations: 41.77 kB / 0.7592 GB, free: 80.1 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.274e-06/0.7098, allocations: 2.156 kB / 0.7592 GB, free: 80.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.009448/0.7192, allocations: 1.885 MB / 0.761 GB, free: 79.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.7193, allocations: 56.16 kB / 0.7611 GB, free: 79.59 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002172/0.7215, allocations: 1.087 MB / 0.7622 GB, free: 79.14 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001274/0.7216, allocations: 37.77 kB / 0.7622 GB, free: 79.11 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004208/0.7221, allocations: 0.5434 MB / 0.7627 GB, free: 78.68 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001284/0.7222, allocations: 154.1 kB / 0.7629 GB, free: 78.56 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002715/0.7225, allocations: 132.3 kB / 0.763 GB, free: 78.49 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.735e-05/0.7226, allocations: 330.5 kB / 0.7633 GB, free: 78.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001005/0.7236, allocations: 327.2 kB / 0.7636 GB, free: 78.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001209/0.7248, allocations: 0.548 MB / 0.7642 GB, free: 77.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001839/0.7267, allocations: 0.7504 MB / 0.7649 GB, free: 77.28 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.015e-06/0.7267, allocations: 2.656 kB / 0.7649 GB, free: 77.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization): time 0.004219/0.7309, allocations: 1.173 MB / 0.766 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.061e-05/0.731, allocations: 8.312 kB / 0.766 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.744e-05/0.731, allocations: 5.219 kB / 0.7661 GB, free: 76.89 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001357/0.7324, allocations: 310.6 kB / 0.7663 GB, free: 76.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006299/0.733, allocations: 133.8 kB / 0.7665 GB, free: 76.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001425/0.7344, allocations: 0.8967 MB / 0.7674 GB, free: 76.15 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001658/0.7361, allocations: 164.8 kB / 0.7675 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.769e-05/0.7362, allocations: 36.86 kB / 0.7675 GB, free: 76.09 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001642/0.7379, allocations: 0.5282 MB / 0.7681 GB, free: 75.84 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00126/0.7391, allocations: 0.5434 MB / 0.7686 GB, free: 75.46 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001787/0.7409, allocations: 0.738 MB / 0.7693 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.149e-06/0.741, allocations: 0.9688 kB / 0.7693 GB, free: 75.06 MB / 0.5762 GB Notification: Performance of matching and sorting (n=72) (initialization_lambda0): time 0.003601/0.7446, allocations: 1.167 MB / 0.7705 GB, free: 74.58 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.7446, allocations: 7.375 kB / 0.7705 GB, free: 74.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.7446, allocations: 5.375 kB / 0.7705 GB, free: 74.58 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001024/0.7456, allocations: 295.3 kB / 0.7707 GB, free: 74.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005613/0.7462, allocations: 132.5 kB / 0.7709 GB, free: 74.41 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001218/0.7474, allocations: 0.8978 MB / 0.7717 GB, free: 73.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001354/0.7488, allocations: 141.3 kB / 0.7719 GB, free: 73.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.657e-05/0.7489, allocations: 39.05 kB / 0.7719 GB, free: 73.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (58): * Single equations (assignments): 57 * 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.0002655/0.7492, allocations: 217.6 kB / 0.7721 GB, free: 73.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001951/0.7494, allocations: 111.8 kB / 0.7722 GB, free: 73.34 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003772/0.7531, allocations: 1.131 MB / 0.7733 GB, free: 72.72 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.671e-05/0.7532, allocations: 6.281 kB / 0.7733 GB, free: 72.72 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.7532, allocations: 0 / 0.7733 GB, free: 72.72 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.285e-06/0.7532, allocations: 5.297 kB / 0.7733 GB, free: 72.72 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005147/0.7583, allocations: 2.204 MB / 0.7755 GB, free: 71.23 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.829e-06/0.7584, allocations: 3.375 kB / 0.7755 GB, free: 71.23 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003086/0.7587, allocations: 73.06 kB / 0.7756 GB, free: 71.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000949/0.7597, allocations: 288.3 kB / 0.7758 GB, free: 71.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.798e-05/0.7597, allocations: 13.72 kB / 0.7759 GB, free: 71.06 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001245/0.761, allocations: 0.9278 MB / 0.7768 GB, free: 70.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.761, allocations: 8.453 kB / 0.7768 GB, free: 70.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003681/0.7647, allocations: 1.197 MB / 0.7779 GB, free: 69.6 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005815/0.7653, allocations: 264.9 kB / 0.7782 GB, free: 69.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001646/0.7654, allocations: 9.5 kB / 0.7782 GB, free: 69.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008122/0.7662, allocations: 76.62 kB / 0.7783 GB, free: 69.32 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.719e-05/0.7664, allocations: 43.39 kB / 0.7783 GB, free: 69.3 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.619e-05/0.7664, allocations: 23.77 kB / 0.7783 GB, free: 69.29 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001217/0.7676, allocations: 0.7533 MB / 0.7791 GB, free: 68.87 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7676, allocations: 0 / 0.7791 GB, free: 68.87 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001895/0.7695, allocations: 0.5773 MB / 0.7796 GB, free: 68.76 MB / 0.5762 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.0008387/0.7704, allocations: 387.4 kB / 0.78 GB, free: 68.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003286/0.7737, allocations: 1.166 MB / 0.7812 GB, free: 68.07 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.7737, allocations: 2.281 kB / 0.7812 GB, free: 68.07 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000952/0.7747, allocations: 361.8 kB / 0.7815 GB, free: 67.91 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002475/0.7772, allocations: 0.5287 MB / 0.782 GB, free: 67.64 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004708/0.7819, allocations: 2.056 MB / 0.784 GB, free: 66.4 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003931/0.7823, allocations: 1.069 MB / 0.7851 GB, free: 65.54 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002572/0.7826, allocations: 82.45 kB / 0.7851 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of SimCode: time 7.42e-07/0.7826, allocations: 4 kB / 0.7851 GB, free: 65.52 MB / 0.5762 GB Notification: Performance of Templates: time 0.02512/0.8077, allocations: 24.41 MB / 0.809 GB, free: 41.88 MB / 0.5762 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_LowTemperature.pipe 2>&1)