Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0008386/0.0008387, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.006537/0.006537, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.517/1.517, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.762/0.762, allocations: 132.4 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003574/0.0003577, allocations: 12.62 kB / 0.504 GB, free: 3.906 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.499, allocations: 81.57 MB / 0.5837 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.06419/0.5632, allocations: 59.72 MB / 0.642 GB, free: 4.547 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01829/0.5816, allocations: 11.9 MB / 0.6536 GB, free: 8.617 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002692/0.5843, allocations: 51.62 kB / 0.6537 GB, free: 8.566 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002513/0.5868, allocations: 0.5438 MB / 0.6542 GB, free: 8.02 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.006885/0.5938, allocations: 1.796 MB / 0.6559 GB, free: 6.215 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003284/0.5971, allocations: 1.091 MB / 0.657 GB, free: 5.141 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.005874/0.6029, allocations: 3.89 MB / 0.6608 GB, free: 1.238 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002009/0.605, allocations: 0.9097 MB / 0.6617 GB, free: 300 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003286/0.6083, allocations: 1.124 MB / 0.6628 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001708/0.61, allocations: 0.8514 MB / 0.6636 GB, free: 14.31 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001655/0.6102, allocations: 44 kB / 0.6637 GB, free: 14.27 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00338/0.6136, allocations: 1.325 MB / 0.665 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002797/0.6139, allocations: 210.9 kB / 0.6652 GB, free: 12.73 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0009501/0.6149, allocations: 0.6311 MB / 0.6658 GB, free: 12.09 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.004038/0.6189, allocations: 2.188 MB / 0.6679 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.6189, allocations: 0 / 0.6679 GB, free: 9.895 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6189, allocations: 4 kB / 0.6679 GB, free: 9.891 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.406e-05/0.619, allocations: 0 / 0.6679 GB, free: 9.891 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.003581/0.6226, allocations: 1.477 MB / 0.6694 GB, free: 8.355 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.439e-05/0.6226, allocations: 8.031 kB / 0.6694 GB, free: 8.348 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002459/0.6251, allocations: 474.8 kB / 0.6698 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002318/0.6274, allocations: 1.139 MB / 0.6709 GB, free: 6.684 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003718/0.6278, allocations: 125.9 kB / 0.6711 GB, free: 6.562 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.6279, allocations: 80 kB / 0.6711 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.6301, allocations: 1.005 MB / 0.6721 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.6302, allocations: 4 kB / 0.6721 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.924e-05/0.6302, allocations: 32 kB / 0.6721 GB, free: 5.398 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.975e-05/0.6303, allocations: 20 kB / 0.6722 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00246/0.6327, allocations: 0.9211 MB / 0.6731 GB, free: 4.457 MB / 0.4981 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.006706/0.6395, allocations: 4.898 MB / 0.6779 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003686/0.6432, allocations: 0.9014 MB / 0.6787 GB, free: 14.29 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007968/0.644, allocations: 324.6 kB / 0.679 GB, free: 13.97 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008038/0.6448, allocations: 0.8986 MB / 0.6799 GB, free: 12.87 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.744e-05/0.6449, allocations: 46.45 kB / 0.68 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.908e-06/0.6449, allocations: 0 / 0.68 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009124/0.654, allocations: 2.153 MB / 0.6821 GB, free: 10.63 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.877e-05/0.6541, allocations: 55.41 kB / 0.6821 GB, free: 10.56 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001838/0.6559, allocations: 1.055 MB / 0.6831 GB, free: 9.492 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001046/0.656, allocations: 37.7 kB / 0.6832 GB, free: 9.449 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004709/0.6565, allocations: 0.5157 MB / 0.6837 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001556/0.6567, allocations: 161.8 kB / 0.6838 GB, free: 8.77 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.344e-05/0.6568, allocations: 45.64 kB / 0.6839 GB, free: 8.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001281/0.6569, allocations: 337.9 kB / 0.6842 GB, free: 8.383 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009336/0.6579, allocations: 320.9 kB / 0.6845 GB, free: 8.07 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001077/0.6589, allocations: 0.5338 MB / 0.685 GB, free: 7.453 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001725/0.6607, allocations: 0.7324 MB / 0.6858 GB, free: 6.664 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.601e-06/0.6607, allocations: 3.938 kB / 0.6858 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002926/0.6636, allocations: 1.052 MB / 0.6868 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001682/0.6638, allocations: 209.5 kB / 0.687 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6638, allocations: 8 kB / 0.687 GB, free: 5.324 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001427/0.6653, allocations: 340.6 kB / 0.6873 GB, free: 4.988 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.6658, allocations: 123.8 kB / 0.6874 GB, free: 4.867 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001597/0.6674, allocations: 0.938 MB / 0.6883 GB, free: 3.906 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001439/0.6689, allocations: 195.1 kB / 0.6885 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.724e-05/0.669, allocations: 27.98 kB / 0.6886 GB, free: 3.688 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.669, allocations: 4 kB / 0.6886 GB, free: 3.684 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002506/0.6715, allocations: 0.9178 MB / 0.6895 GB, free: 2.762 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.575e-06/0.6715, allocations: 4 kB / 0.6895 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001134/0.6727, allocations: 329 kB / 0.6898 GB, free: 2.434 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005178/0.6732, allocations: 127.8 kB / 0.6899 GB, free: 2.309 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001546/0.6748, allocations: 0.9231 MB / 0.6908 GB, free: 1.359 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001247/0.676, allocations: 179.4 kB / 0.691 GB, free: 1.184 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.494e-05/0.6761, allocations: 31.98 kB / 0.691 GB, free: 1.152 MB / 0.5137 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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.0007457/0.6768, allocations: 352.9 kB / 0.6913 GB, free: 0.7969 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002101/0.6771, allocations: 114.5 kB / 0.6914 GB, free: 0.6836 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003998/0.6811, allocations: 1.203 MB / 0.6926 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.893e-05/0.6811, allocations: 4 kB / 0.6926 GB, free: 15.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.08e-05/0.6811, allocations: 3.938 kB / 0.6926 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/0.6811, allocations: 7.984 kB / 0.6926 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005363/0.6865, allocations: 2.263 MB / 0.6948 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.008e-05/0.6865, allocations: 4 kB / 0.6949 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002787/0.6868, allocations: 63.89 kB / 0.6949 GB, free: 13.03 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001045/0.6879, allocations: 324.8 kB / 0.6952 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.698e-05/0.6879, allocations: 19.98 kB / 0.6952 GB, free: 12.69 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001486/0.6894, allocations: 0.9605 MB / 0.6962 GB, free: 11.71 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.6894, allocations: 11.92 kB / 0.6962 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003737/0.6932, allocations: 1.264 MB / 0.6974 GB, free: 10.39 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004648/0.6937, allocations: 279.4 kB / 0.6977 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001281/0.6938, allocations: 16 kB / 0.6977 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009021/0.6947, allocations: 107.9 kB / 0.6978 GB, free: 9.973 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.895e-05/0.6948, allocations: 35.89 kB / 0.6978 GB, free: 9.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.141e-05/0.6948, allocations: 27.92 kB / 0.6979 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001123/0.696, allocations: 0.7506 MB / 0.6986 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.8e-07/0.696, allocations: 0 / 0.6986 GB, free: 9.152 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001516/0.6975, allocations: 0.5574 MB / 0.6991 GB, free: 8.594 MB / 0.5294 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.0007392/0.6983, allocations: 380.2 kB / 0.6995 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00323/0.7015, allocations: 1.165 MB / 0.7006 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.7015, allocations: 0 / 0.7006 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009145/0.7024, allocations: 374.5 kB / 0.701 GB, free: 6.695 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0028/0.7053, allocations: 0.5013 MB / 0.7015 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00554/0.7108, allocations: 2.541 MB / 0.704 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005935/0.7114, allocations: 1.054 MB / 0.705 GB, free: 2.523 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009268/0.7124, allocations: 220 kB / 0.7052 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001882/0.7126, allocations: 83.42 kB / 0.7053 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of SimCode: time 8.01e-07/0.7126, allocations: 0 / 0.7053 GB, free: 2.227 MB / 0.5294 GB Notification: Performance of Templates: time 0.04135/0.7539, allocations: 23.88 MB / 0.7286 GB, free: 10.65 MB / 0.5606 GB make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)