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.007969/0.007969, allocations: 102.5 kB / 15.73 MB, free: 5.984 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.001885/0.001886, allocations: 199.2 kB / 16.68 MB, free: 5.91 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8114/0.8114, allocations: 135.1 MB / 425.7 MB, free: 4.117 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001375, allocations: 67.48 kB / 0.5856 GB, free: 21.63 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1922/0.1936, allocations: 80.93 MB / 0.6646 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06409/0.2577, allocations: 61.16 MB / 0.7244 GB, free: 8.438 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0188/0.2766, allocations: 11.99 MB / 0.7361 GB, free: 12.42 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003734/0.2804, allocations: 63.62 kB / 0.7361 GB, free: 12.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002363/0.2828, allocations: 0.687 MB / 0.7368 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.006598/0.2895, allocations: 2.064 MB / 0.7388 GB, free: 9.59 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00356/0.293, allocations: 1.212 MB / 0.74 GB, free: 8.387 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004886/0.2979, allocations: 3.095 MB / 0.743 GB, free: 5.285 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001708/0.2997, allocations: 1.092 MB / 0.7441 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003722/0.3034, allocations: 1.374 MB / 0.7454 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001621/0.305, allocations: 0.8867 MB / 0.7463 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001877/0.3052, allocations: 116 kB / 0.7464 GB, free: 1.785 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.3084, allocations: 1.435 MB / 0.7478 GB, free: 356 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000321/0.3087, allocations: 298.8 kB / 0.7481 GB, free: 56 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4276/0.7364, allocations: 0.6882 MB / 0.7488 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004765/0.7412, allocations: 2.299 MB / 0.751 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.959e-06/0.7412, allocations: 1.969 kB / 0.751 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.923e-06/0.7412, allocations: 0.7969 kB / 0.751 GB, free: 23.22 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.287e-05/0.7413, allocations: 0 / 0.751 GB, free: 23.22 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.003485/0.7448, allocations: 1.729 MB / 0.7527 GB, free: 22.37 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.7448, allocations: 9.766 kB / 0.7527 GB, free: 22.37 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002353/0.7472, allocations: 407.5 kB / 0.7531 GB, free: 22.3 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002401/0.7496, allocations: 1.165 MB / 0.7542 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.815e-05/0.7497, allocations: 63.22 kB / 0.7543 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001199/0.7498, allocations: 83.75 kB / 0.7544 GB, free: 21.92 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002404/0.7522, allocations: 0.9981 MB / 0.7554 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.306e-05/0.7523, allocations: 4.75 kB / 0.7554 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.918e-05/0.7524, allocations: 32.72 kB / 0.7554 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.331e-05/0.7524, allocations: 19.38 kB / 0.7554 GB, free: 21.73 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002579/0.755, allocations: 0.8546 MB / 0.7562 GB, free: 21.71 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.007573/0.7626, allocations: 5.216 MB / 0.7613 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003848/0.7664, allocations: 0.787 MB / 0.7621 GB, free: 18.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008312/0.7673, allocations: 296.2 kB / 0.7624 GB, free: 18.56 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005181/0.7678, allocations: 0.9045 MB / 0.7633 GB, free: 17.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.498e-05/0.7678, allocations: 37.41 kB / 0.7633 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 1.185e-05/0.7679, allocations: 2.938 kB / 0.7633 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008766/0.7766, allocations: 1.854 MB / 0.7651 GB, free: 17.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.7767, allocations: 55.44 kB / 0.7652 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001823/0.7785, allocations: 1.078 MB / 0.7662 GB, free: 17 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.268e-05/0.7786, allocations: 38.3 kB / 0.7663 GB, free: 16.97 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004078/0.779, allocations: 0.5278 MB / 0.7668 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001361/0.7792, allocations: 150 kB / 0.7669 GB, free: 16.68 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002288/0.7794, allocations: 138.5 kB / 0.767 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.907e-05/0.7795, allocations: 330.1 kB / 0.7674 GB, free: 16.35 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008963/0.7804, allocations: 308.7 kB / 0.7677 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.7814, allocations: 0.5341 MB / 0.7682 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/0.7831, allocations: 0.7152 MB / 0.7689 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.552e-06/0.7831, allocations: 1.156 kB / 0.7689 GB, free: 15.86 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002992/0.7861, allocations: 1.015 MB / 0.7699 GB, free: 15.74 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.676e-05/0.7861, allocations: 11.34 kB / 0.7699 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.575e-05/0.7861, allocations: 5.469 kB / 0.7699 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001273/0.7874, allocations: 307.6 kB / 0.7702 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005808/0.788, allocations: 134.8 kB / 0.7703 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001274/0.7893, allocations: 0.8929 MB / 0.7712 GB, free: 15.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001366/0.7907, allocations: 153.9 kB / 0.7713 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.038e-05/0.7908, allocations: 36.8 kB / 0.7714 GB, free: 15.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001363/0.7921, allocations: 0.5054 MB / 0.7719 GB, free: 15.05 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009878/0.7931, allocations: 0.5319 MB / 0.7724 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001535/0.7947, allocations: 0.7082 MB / 0.7731 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.609e-06/0.7947, allocations: 1.25 kB / 0.7731 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002627/0.7973, allocations: 1.009 MB / 0.7741 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.7974, allocations: 7.531 kB / 0.7741 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.687e-06/0.7974, allocations: 5.812 kB / 0.7741 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001058/0.7984, allocations: 305.9 kB / 0.7744 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005366/0.799, allocations: 124.7 kB / 0.7745 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001204/0.8002, allocations: 0.8973 MB / 0.7754 GB, free: 13.89 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001345/0.8016, allocations: 141.3 kB / 0.7755 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.54e-05/0.8016, allocations: 28.72 kB / 0.7755 GB, free: 13.87 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.0002296/0.8019, allocations: 221 kB / 0.7757 GB, free: 13.68 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002026/0.8021, allocations: 111.5 kB / 0.7758 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003681/0.8058, allocations: 1.086 MB / 0.7769 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.687e-05/0.8058, allocations: 5.594 kB / 0.7769 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.8058, allocations: 2.625 kB / 0.7769 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.8058, allocations: 8.844 kB / 0.7769 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005063/0.8109, allocations: 2.147 MB / 0.779 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.774e-06/0.8109, allocations: 2.562 kB / 0.779 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002922/0.8112, allocations: 61.55 kB / 0.7791 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001029/0.8122, allocations: 294.9 kB / 0.7793 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.901e-05/0.8123, allocations: 14.72 kB / 0.7794 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001348/0.8137, allocations: 0.9271 MB / 0.7803 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.308e-06/0.8137, allocations: 5.344 kB / 0.7803 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003608/0.8173, allocations: 1.14 MB / 0.7814 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005119/0.8178, allocations: 271.3 kB / 0.7816 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.818, allocations: 14.56 kB / 0.7817 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008556/0.8189, allocations: 70.47 kB / 0.7817 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.028e-05/0.8189, allocations: 36.77 kB / 0.7818 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.533e-05/0.819, allocations: 26.06 kB / 0.7818 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001224/0.8202, allocations: 0.7576 MB / 0.7825 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/0.8203, allocations: 2.969 kB / 0.7825 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001787/0.822, allocations: 0.564 MB / 0.7831 GB, free: 11.88 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.0008126/0.8229, allocations: 377.3 kB / 0.7834 GB, free: 11.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003284/0.8262, allocations: 1.131 MB / 0.7845 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.8262, allocations: 5.562 kB / 0.7845 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008589/0.8271, allocations: 349.7 kB / 0.7849 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002482/0.8295, allocations: 0.505 MB / 0.7854 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004988/0.8345, allocations: 2.006 MB / 0.7873 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004796/0.8351, allocations: 1.059 MB / 0.7884 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009508/0.836, allocations: 229.8 kB / 0.7886 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001885/0.8362, allocations: 80.55 kB / 0.7887 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of SimCode: time 8.52e-07/0.8362, allocations: 3.844 kB / 0.7887 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of Templates: time 0.0386/0.8748, allocations: 25.09 MB / 0.8132 GB, free: 10.34 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)