Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00117/0.00117, allocations: 193.7 kB / 16.53 MB, free: 6.391 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.361/1.361, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.979/0.979, allocations: 135.1 MB / 425.5 MB, free: 12.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002236/0.002236, allocations: 63.69 kB / 0.5053 GB, free: 5.316 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2114, allocations: 80.93 MB / 0.5844 GB, free: 4.543 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.3805/0.592, allocations: 75.16 MB / 0.6578 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02248/0.6145, allocations: 15.14 MB / 0.6725 GB, free: 12.22 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003807/0.6184, allocations: 70.19 kB / 0.6726 GB, free: 12.19 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003617/0.6221, allocations: 0.8232 MB / 0.6734 GB, free: 11.68 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01135/0.6335, allocations: 2.586 MB / 0.6759 GB, free: 10.12 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.006328/0.6398, allocations: 1.381 MB / 0.6773 GB, free: 9.336 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01067/0.6505, allocations: 4.396 MB / 0.6816 GB, free: 7.137 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003868/0.6544, allocations: 1.441 MB / 0.683 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006046/0.6605, allocations: 1.638 MB / 0.6846 GB, free: 5.637 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003544/0.6641, allocations: 1.213 MB / 0.6858 GB, free: 5.07 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008413/0.6649, allocations: 167.1 kB / 0.6859 GB, free: 5.066 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004933/0.6699, allocations: 1.406 MB / 0.6873 GB, free: 4.547 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001091/0.671, allocations: 406.3 kB / 0.6877 GB, free: 4.289 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003755/0.6748, allocations: 0.9114 MB / 0.6886 GB, free: 3.715 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008304/0.6831, allocations: 2.845 MB / 0.6914 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 7.304e-06/0.6831, allocations: 1.375 kB / 0.6914 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.894e-06/0.6832, allocations: 0 / 0.6914 GB, free: 2.629 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 9.944e-05/0.6833, allocations: 0 / 0.6914 GB, free: 2.629 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.007549/0.6908, allocations: 2.089 MB / 0.6934 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.6909, allocations: 9.812 kB / 0.6934 GB, free: 1.258 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001428/0.6923, allocations: 231.5 kB / 0.6936 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003973/0.6963, allocations: 1.458 MB / 0.6951 GB, free: 272 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.016e-05/0.6964, allocations: 76.69 kB / 0.6951 GB, free: 240 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002814/0.6967, allocations: 101.4 kB / 0.6952 GB, free: 208 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002725/0.6994, allocations: 1.096 MB / 0.6963 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.408e-05/0.6995, allocations: 0 / 0.6963 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001218/0.6996, allocations: 42.69 kB / 0.6963 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.542e-05/0.6997, allocations: 24.2 kB / 0.6964 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002318/0.702, allocations: 0.8949 MB / 0.6972 GB, free: 15.37 MB / 0.5294 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.008157/0.7102, allocations: 4.938 MB / 0.7021 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001558/0.7118, allocations: 0.6314 MB / 0.7027 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000803/0.7126, allocations: 344.2 kB / 0.703 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007806/0.7134, allocations: 0.8319 MB / 0.7038 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.7134, allocations: 42.09 kB / 0.7039 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.985e-06/0.7134, allocations: 0 / 0.7039 GB, free: 10.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.00771/0.7212, allocations: 1.691 MB / 0.7055 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.842e-05/0.7212, allocations: 58.66 kB / 0.7056 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002368/0.7236, allocations: 1.234 MB / 0.7068 GB, free: 9.426 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001278/0.7238, allocations: 39.61 kB / 0.7068 GB, free: 9.387 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006475/0.7244, allocations: 0.6087 MB / 0.7074 GB, free: 8.848 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002733/0.7247, allocations: 211.1 kB / 0.7076 GB, free: 8.664 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003083/0.725, allocations: 151.3 kB / 0.7077 GB, free: 8.574 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001356/0.7251, allocations: 340.8 kB / 0.7081 GB, free: 8.242 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007323/0.7259, allocations: 295.9 kB / 0.7084 GB, free: 8.09 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009146/0.7268, allocations: 0.4883 MB / 0.7088 GB, free: 7.707 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001557/0.7284, allocations: 0.705 MB / 0.7095 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.875e-06/0.7284, allocations: 1.438 kB / 0.7095 GB, free: 7.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00515/0.7336, allocations: 1.277 MB / 0.7108 GB, free: 6.625 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.707e-05/0.7336, allocations: 12.53 kB / 0.7108 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.353e-05/0.7336, allocations: 3.188 kB / 0.7108 GB, free: 6.621 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000658/0.7343, allocations: 147.6 kB / 0.7109 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006689/0.735, allocations: 153.2 kB / 0.7111 GB, free: 6.512 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008983/0.7359, allocations: 0.7061 MB / 0.7118 GB, free: 5.891 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001448/0.7373, allocations: 118.5 kB / 0.7119 GB, free: 5.816 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001185/0.7375, allocations: 36.11 kB / 0.7119 GB, free: 5.805 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001324/0.7388, allocations: 0.5528 MB / 0.7124 GB, free: 5.465 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000864/0.7397, allocations: 0.4924 MB / 0.7129 GB, free: 5.074 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001481/0.7412, allocations: 0.6924 MB / 0.7136 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.669e-06/0.7412, allocations: 5.812 kB / 0.7136 GB, free: 4.633 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00518/0.7464, allocations: 1.267 MB / 0.7148 GB, free: 3.996 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.991e-05/0.7464, allocations: 10.92 kB / 0.7149 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.217e-06/0.7464, allocations: 4.188 kB / 0.7149 GB, free: 3.992 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005586/0.747, allocations: 143.2 kB / 0.715 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006225/0.7476, allocations: 160.1 kB / 0.7151 GB, free: 3.879 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008538/0.7485, allocations: 0.6999 MB / 0.7158 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.7499, allocations: 110.8 kB / 0.7159 GB, free: 3.195 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-05/0.75, allocations: 35.42 kB / 0.716 GB, free: 3.184 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003426/0.7503, allocations: 224.5 kB / 0.7162 GB, free: 2.969 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000517/0.7509, allocations: 132.4 kB / 0.7163 GB, free: 2.902 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004958/0.7558, allocations: 1.268 MB / 0.7176 GB, free: 2.207 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.412e-05/0.7559, allocations: 8.984 kB / 0.7176 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.477e-06/0.7559, allocations: 0 / 0.7176 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0042/0.7601, allocations: 1.097 MB / 0.7186 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007903/0.768, allocations: 2.626 MB / 0.7212 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.438e-05/0.7681, allocations: 4.625 kB / 0.7212 GB, free: 15.76 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004905/0.7686, allocations: 113.5 kB / 0.7213 GB, free: 15.73 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005206/0.7691, allocations: 132.7 kB / 0.7214 GB, free: 15.59 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.08e-05/0.7692, allocations: 19.98 kB / 0.7215 GB, free: 15.57 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005286/0.7745, allocations: 2.628 MB / 0.724 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.24e-06/0.7745, allocations: 4 kB / 0.724 GB, free: 12.79 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005805/0.7803, allocations: 1.703 MB / 0.7257 GB, free: 11.02 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009364/0.7812, allocations: 303.2 kB / 0.726 GB, free: 10.7 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004325/0.7817, allocations: 16 kB / 0.726 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001083/0.7828, allocations: 63.92 kB / 0.7261 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001415/0.7829, allocations: 60.25 kB / 0.7261 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.974e-05/0.783, allocations: 28.09 kB / 0.7261 GB, free: 10.54 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001566/0.7846, allocations: 0.8896 MB / 0.727 GB, free: 9.648 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7846, allocations: 0 / 0.727 GB, free: 9.648 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002948/0.7876, allocations: 0.7174 MB / 0.7277 GB, free: 8.93 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001275/0.7888, allocations: 458.2 kB / 0.7281 GB, free: 8.484 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003108/0.792, allocations: 1.164 MB / 0.7293 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.414e-06/0.792, allocations: 0 / 0.7293 GB, free: 7.32 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001519/0.7935, allocations: 0.5565 MB / 0.7298 GB, free: 6.754 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004026/0.7976, allocations: 0.7979 MB / 0.7306 GB, free: 6.004 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004203/0.8018, allocations: 2.317 MB / 0.7329 GB, free: 3.609 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009066/0.8027, allocations: 1.179 MB / 0.734 GB, free: 2.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001357/0.8041, allocations: 315.3 kB / 0.7343 GB, free: 2.09 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002915/0.8044, allocations: 107.4 kB / 0.7344 GB, free: 1.984 MB / 0.545 GB Notification: Performance of SimCode: time 8.92e-07/0.8044, allocations: 0 / 0.7344 GB, free: 1.984 MB / 0.545 GB Notification: Performance of Templates: time 0.05509/0.8595, allocations: 32.22 MB / 0.7659 GB, free: 2.121 MB / 0.5762 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)