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.001466/0.001466, allocations: 108 kB / 15.99 MB, free: 6.363 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.001528/0.001528, allocations: 191.5 kB / 16.91 MB, free: 6.195 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.308/1.308, allocations: 222.9 MB / 240.6 MB, free: 13.71 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7884/0.7884, allocations: 135.2 MB / 425.9 MB, free: 4.293 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001814/0.001814, allocations: 67.89 kB / 0.5055 GB, free: 8.691 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3134/0.3152, allocations: 80.92 MB / 0.5846 GB, free: 25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05001/0.3653, allocations: 60.66 MB / 0.6438 GB, free: 13.97 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0164/0.3817, allocations: 11.89 MB / 0.6554 GB, free: 2.047 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001643/0.3834, allocations: 51.69 kB / 0.6555 GB, free: 1.996 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001674/0.3851, allocations: 0.5867 MB / 0.656 GB, free: 1.406 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.004748/0.3899, allocations: 1.82 MB / 0.6578 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002715/0.3926, allocations: 1.092 MB / 0.6589 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003878/0.3965, allocations: 3.106 MB / 0.6619 GB, free: 11.38 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001421/0.398, allocations: 1.108 MB / 0.663 GB, free: 10.24 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00284/0.4008, allocations: 1.337 MB / 0.6643 GB, free: 8.898 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001231/0.402, allocations: 0.9295 MB / 0.6652 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001669/0.4022, allocations: 116 kB / 0.6653 GB, free: 7.852 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00252/0.4048, allocations: 1.454 MB / 0.6667 GB, free: 6.395 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002732/0.405, allocations: 290.9 kB / 0.667 GB, free: 6.109 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0007048/0.4057, allocations: 0.6958 MB / 0.6677 GB, free: 5.41 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002141/0.4079, allocations: 1.754 MB / 0.6694 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4079, allocations: 0 / 0.6694 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.512e-06/0.4079, allocations: 0 / 0.6694 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.537e-05/0.4079, allocations: 4 kB / 0.6694 GB, free: 3.648 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.002852/0.4108, allocations: 1.72 MB / 0.6711 GB, free: 1.867 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.4108, allocations: 9.109 kB / 0.6711 GB, free: 1.859 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002111/0.413, allocations: 410.8 kB / 0.6715 GB, free: 1.457 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001992/0.415, allocations: 1.132 MB / 0.6726 GB, free: 276 kB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003496/0.4153, allocations: 117.9 kB / 0.6727 GB, free: 156 kB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001177/0.4154, allocations: 80 kB / 0.6728 GB, free: 76 kB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001995/0.4175, allocations: 0.9778 MB / 0.6737 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.973e-05/0.4175, allocations: 0 / 0.6737 GB, free: 15.05 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.109e-05/0.4176, allocations: 32 kB / 0.6738 GB, free: 15.02 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.063e-05/0.4176, allocations: 23.94 kB / 0.6738 GB, free: 15 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.4198, allocations: 0.8625 MB / 0.6746 GB, free: 14.14 MB / 0.5137 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.006297/0.4261, allocations: 4.847 MB / 0.6794 GB, free: 8.93 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003366/0.4295, allocations: 0.7887 MB / 0.6801 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007145/0.4302, allocations: 308.6 kB / 0.6804 GB, free: 7.828 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007/0.4309, allocations: 0.9064 MB / 0.6813 GB, free: 6.719 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.431, allocations: 42.45 kB / 0.6814 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 1.963e-06/0.431, allocations: 0 / 0.6814 GB, free: 6.668 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008355/0.4393, allocations: 1.907 MB / 0.6832 GB, free: 4.73 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.224e-05/0.4394, allocations: 55.41 kB / 0.6833 GB, free: 4.664 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001559/0.4409, allocations: 1.051 MB / 0.6843 GB, free: 3.598 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.01e-05/0.441, allocations: 37.7 kB / 0.6843 GB, free: 3.555 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004651/0.4415, allocations: 0.5273 MB / 0.6849 GB, free: 3.023 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001411/0.4417, allocations: 153.8 kB / 0.685 GB, free: 2.871 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002291/0.4419, allocations: 126 kB / 0.6851 GB, free: 2.742 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.442, allocations: 334 kB / 0.6854 GB, free: 2.41 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008565/0.4429, allocations: 306.9 kB / 0.6857 GB, free: 2.109 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001046/0.444, allocations: 0.5025 MB / 0.6862 GB, free: 1.516 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001599/0.4456, allocations: 0.689 MB / 0.6869 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.943e-06/0.4456, allocations: 0 / 0.6869 GB, free: 0.7695 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002594/0.4482, allocations: 0.9772 MB / 0.6879 GB, free: 15.78 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.4482, allocations: 7.938 kB / 0.6879 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.4482, allocations: 8 kB / 0.6879 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001265/0.4495, allocations: 325 kB / 0.6882 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005096/0.45, allocations: 111.9 kB / 0.6883 GB, free: 15.34 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001453/0.4515, allocations: 0.9229 MB / 0.6892 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001242/0.4527, allocations: 167.3 kB / 0.6893 GB, free: 14.22 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.592e-05/0.4528, allocations: 24 kB / 0.6894 GB, free: 14.2 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001135/0.454, allocations: 0.5136 MB / 0.6899 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001007/0.455, allocations: 0.5022 MB / 0.6904 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001576/0.4566, allocations: 0.6641 MB / 0.691 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.295e-06/0.4566, allocations: 4 kB / 0.691 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002518/0.4591, allocations: 0.9845 MB / 0.692 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.307e-05/0.4591, allocations: 6.5 kB / 0.692 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.071e-06/0.4591, allocations: 8 kB / 0.692 GB, free: 11.36 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001072/0.4602, allocations: 316.4 kB / 0.6923 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005018/0.4607, allocations: 119.8 kB / 0.6924 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00138/0.4621, allocations: 0.9074 MB / 0.6933 GB, free: 9.996 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001187/0.4633, allocations: 151.6 kB / 0.6934 GB, free: 9.848 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.372e-05/0.4634, allocations: 35.92 kB / 0.6935 GB, free: 9.812 MB / 0.5294 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.0002241/0.4636, allocations: 208.2 kB / 0.6937 GB, free: 9.602 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001759/0.4638, allocations: 106.7 kB / 0.6938 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00359/0.4674, allocations: 1.108 MB / 0.6948 GB, free: 8.371 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.166e-05/0.4674, allocations: 4 kB / 0.6949 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.4674, allocations: 0 / 0.6949 GB, free: 8.367 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.4674, allocations: 3.984 kB / 0.6949 GB, free: 8.363 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004929/0.4724, allocations: 2.168 MB / 0.697 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.965e-06/0.4724, allocations: 4 kB / 0.697 GB, free: 6.109 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002681/0.4727, allocations: 60.17 kB / 0.697 GB, free: 6.051 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00097/0.4737, allocations: 308.6 kB / 0.6973 GB, free: 5.746 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.943e-05/0.4737, allocations: 19.98 kB / 0.6973 GB, free: 5.727 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001458/0.4752, allocations: 0.9424 MB / 0.6983 GB, free: 4.758 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.53e-06/0.4752, allocations: 4 kB / 0.6983 GB, free: 4.754 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003466/0.4787, allocations: 1.167 MB / 0.6994 GB, free: 3.543 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004109/0.4791, allocations: 263.5 kB / 0.6997 GB, free: 3.266 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001349/0.4792, allocations: 8 kB / 0.6997 GB, free: 3.258 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008541/0.4801, allocations: 99.8 kB / 0.6998 GB, free: 3.16 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.072e-05/0.4802, allocations: 39.83 kB / 0.6998 GB, free: 3.121 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.272e-05/0.4802, allocations: 23.98 kB / 0.6998 GB, free: 3.098 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001122/0.4814, allocations: 0.7428 MB / 0.7006 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4814, allocations: 0 / 0.7006 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001429/0.4828, allocations: 0.5535 MB / 0.7011 GB, free: 1.793 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.0007565/0.4836, allocations: 386.8 kB / 0.7015 GB, free: 1.418 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003145/0.4867, allocations: 1.113 MB / 0.7025 GB, free: 312 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.4867, allocations: 7.938 kB / 0.7026 GB, free: 304 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008869/0.4876, allocations: 342.5 kB / 0.7029 GB, free: 15.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.4898, allocations: 0.509 MB / 0.7034 GB, free: 15.48 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005345/0.4952, allocations: 2.464 MB / 0.7058 GB, free: 12.96 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006762/0.4959, allocations: 1.065 MB / 0.7068 GB, free: 11.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002349/0.4961, allocations: 79.42 kB / 0.7069 GB, free: 11.79 MB / 0.545 GB Notification: Performance of SimCode: time 4.2e-07/0.4961, allocations: 0 / 0.7069 GB, free: 11.79 MB / 0.545 GB Notification: Performance of Templates: time 0.03109/0.5272, allocations: 23.78 MB / 0.7301 GB, free: 4.164 MB / 0.5606 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)