Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 108.6 kB / 16.41 MB, free: 6.453 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.001516/0.001516, allocations: 191.8 kB / 17.34 MB, free: 5.738 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8284/0.8284, allocations: 135.2 MB / 426.4 MB, free: 4.074 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001885/0.001885, allocations: 68.08 kB / 0.5863 GB, free: 21.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.143, allocations: 80.93 MB / 0.6654 GB, free: 5.867 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.0631/0.2061, allocations: 61.17 MB / 0.7251 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01734/0.2235, allocations: 11.99 MB / 0.7368 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001684/0.2252, allocations: 59.62 kB / 0.7369 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001742/0.227, allocations: 0.6908 MB / 0.7375 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004967/0.232, allocations: 2.072 MB / 0.7396 GB, free: 9.617 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002772/0.2348, allocations: 1.212 MB / 0.7407 GB, free: 8.414 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003885/0.2387, allocations: 3.098 MB / 0.7438 GB, free: 5.312 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001525/0.2402, allocations: 1.1 MB / 0.7448 GB, free: 4.18 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002906/0.2432, allocations: 1.368 MB / 0.7462 GB, free: 2.809 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001343/0.2445, allocations: 0.8945 MB / 0.747 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001841/0.2447, allocations: 116 kB / 0.7472 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002633/0.2474, allocations: 1.435 MB / 0.7486 GB, free: 368 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003048/0.2477, allocations: 294.9 kB / 0.7488 GB, free: 72 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.3105/0.5582, allocations: 0.6853 MB / 0.7495 GB, free: 23.11 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00524/0.5635, allocations: 2.31 MB / 0.7518 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.5635, allocations: 1.438 kB / 0.7518 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.5635, allocations: 0 / 0.7518 GB, free: 22.98 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.006e-05/0.5636, allocations: 0 / 0.7518 GB, free: 22.98 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.003334/0.5669, allocations: 1.777 MB / 0.7535 GB, free: 22.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.567, allocations: 10.52 kB / 0.7535 GB, free: 22.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00224/0.5692, allocations: 420 kB / 0.7539 GB, free: 21.94 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002305/0.5715, allocations: 1.171 MB / 0.7551 GB, free: 21.56 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.887e-05/0.5716, allocations: 61.09 kB / 0.7551 GB, free: 21.56 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001205/0.5717, allocations: 81.56 kB / 0.7552 GB, free: 21.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00206/0.5738, allocations: 0.9994 MB / 0.7562 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.283e-05/0.5738, allocations: 4.375 kB / 0.7562 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.804e-05/0.5739, allocations: 37.81 kB / 0.7562 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.04e-05/0.5739, allocations: 19.28 kB / 0.7562 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002428/0.5764, allocations: 0.8574 MB / 0.7571 GB, free: 21.35 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.006875/0.5833, allocations: 5.216 MB / 0.7622 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00361/0.5869, allocations: 0.7855 MB / 0.7629 GB, free: 18.2 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008373/0.5877, allocations: 300.1 kB / 0.7632 GB, free: 18.19 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004864/0.5882, allocations: 0.9017 MB / 0.7641 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.5883, allocations: 39.34 kB / 0.7641 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.284e-06/0.5883, allocations: 0 / 0.7641 GB, free: 17.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008396/0.5967, allocations: 1.86 MB / 0.7659 GB, free: 16.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.905e-05/0.5967, allocations: 59.08 kB / 0.766 GB, free: 16.79 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001726/0.5985, allocations: 1.07 MB / 0.767 GB, free: 16.64 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.368e-05/0.5986, allocations: 42.36 kB / 0.7671 GB, free: 16.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003469/0.5989, allocations: 0.5426 MB / 0.7676 GB, free: 16.39 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000129/0.599, allocations: 156.5 kB / 0.7678 GB, free: 16.29 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002362/0.5993, allocations: 139.3 kB / 0.7679 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.576e-05/0.5994, allocations: 326.1 kB / 0.7682 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008148/0.6002, allocations: 314.1 kB / 0.7685 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001008/0.6012, allocations: 0.5345 MB / 0.769 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001554/0.6028, allocations: 0.7178 MB / 0.7697 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.6028, allocations: 1.281 kB / 0.7697 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002795/0.6056, allocations: 1.017 MB / 0.7707 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.245e-05/0.6056, allocations: 7.281 kB / 0.7707 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.6056, allocations: 5.812 kB / 0.7707 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001211/0.6068, allocations: 309.1 kB / 0.771 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005533/0.6074, allocations: 126.3 kB / 0.7712 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001246/0.6087, allocations: 0.9034 MB / 0.772 GB, free: 14.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001267/0.6099, allocations: 153.8 kB / 0.7722 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.832e-05/0.61, allocations: 32.38 kB / 0.7722 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001215/0.6112, allocations: 0.5109 MB / 0.7727 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009296/0.6122, allocations: 0.5307 MB / 0.7732 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001442/0.6136, allocations: 0.7117 MB / 0.7739 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.457e-06/0.6137, allocations: 6.062 kB / 0.7739 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002473/0.6161, allocations: 1.005 MB / 0.7749 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.482e-05/0.6162, allocations: 9.25 kB / 0.7749 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.887e-06/0.6162, allocations: 9.688 kB / 0.7749 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009832/0.6172, allocations: 299.5 kB / 0.7752 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005134/0.6177, allocations: 127.9 kB / 0.7753 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001168/0.6189, allocations: 0.9007 MB / 0.7762 GB, free: 13.49 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001306/0.6202, allocations: 131.8 kB / 0.7763 GB, free: 13.46 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.257e-05/0.6203, allocations: 33.86 kB / 0.7764 GB, free: 13.46 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 (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.0002299/0.6205, allocations: 231 kB / 0.7766 GB, free: 13.27 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001939/0.6207, allocations: 116.7 kB / 0.7767 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003611/0.6243, allocations: 1.079 MB / 0.7778 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.597e-05/0.6243, allocations: 9.531 kB / 0.7778 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.6244, allocations: 0 / 0.7778 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.097e-06/0.6244, allocations: 9.375 kB / 0.7778 GB, free: 13.11 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005015/0.6294, allocations: 2.14 MB / 0.7799 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.6294, allocations: 2.562 kB / 0.7799 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002762/0.6297, allocations: 62.58 kB / 0.7799 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.6307, allocations: 289.1 kB / 0.7802 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.351e-05/0.6308, allocations: 25.44 kB / 0.7802 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.6322, allocations: 0.9256 MB / 0.7811 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.816e-06/0.6322, allocations: 6.156 kB / 0.7811 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003551/0.6357, allocations: 1.148 MB / 0.7823 GB, free: 11.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005857/0.6363, allocations: 271 kB / 0.7825 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001527/0.6365, allocations: 12.5 kB / 0.7825 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.6373, allocations: 74.75 kB / 0.7826 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.576e-05/0.6373, allocations: 34.62 kB / 0.7826 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.248e-05/0.6374, allocations: 25.28 kB / 0.7827 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001101/0.6385, allocations: 0.7577 MB / 0.7834 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.052e-06/0.6385, allocations: 0 / 0.7834 GB, free: 11.54 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001785/0.6403, allocations: 0.5772 MB / 0.784 GB, free: 11.45 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 (33): * Single equations (assignments): 28 * 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.0007714/0.6411, allocations: 380.8 kB / 0.7843 GB, free: 11.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002989/0.6441, allocations: 1.129 MB / 0.7854 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.27e-06/0.6441, allocations: 0 / 0.7854 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008219/0.6449, allocations: 349.1 kB / 0.7858 GB, free: 11.27 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002184/0.6471, allocations: 0.5051 MB / 0.7863 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004519/0.6517, allocations: 2.038 MB / 0.7882 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003926/0.6521, allocations: 1.06 MB / 0.7893 GB, free: 9.688 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007992/0.6529, allocations: 227.8 kB / 0.7895 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001725/0.653, allocations: 87.09 kB / 0.7896 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of SimCode: time 7.62e-07/0.6531, allocations: 0 / 0.7896 GB, free: 9.613 MB / 0.5762 GB Notification: Performance of Templates: time 0.03666/0.6897, allocations: 25.19 MB / 0.8142 GB, free: 9.938 MB / 0.5919 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)