Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.conf.json 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/IDEAS 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001638/0.001638, allocations: 183.2 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7031/0.7031, allocations: 133.3 MB / 150.1 MB, free: 11.2 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.359/1.359, allocations: 222.9 MB / 404.7 MB, free: 6.078 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009944/0.0009944, allocations: 111.3 kB / 485.9 MB, free: 7.246 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001037/0.001037, allocations: 56.16 kB / 0.5636 GB, free: 69.95 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.129/0.13, allocations: 80.42 MB / 0.6421 GB, free: 5.461 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.3551/0.4851, allocations: 60.83 MB / 0.7015 GB, free: 25.99 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02077/0.506, allocations: 12.05 MB / 0.7133 GB, free: 25.72 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001975/0.508, allocations: 53.69 kB / 0.7134 GB, free: 25.72 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001945/0.5099, allocations: 0.5488 MB / 0.7139 GB, free: 25.71 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006658/0.5166, allocations: 1.804 MB / 0.7157 GB, free: 25.28 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004099/0.5208, allocations: 1.068 MB / 0.7167 GB, free: 24.8 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006003/0.5268, allocations: 3.92 MB / 0.7205 GB, free: 23.35 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001772/0.5286, allocations: 0.9308 MB / 0.7214 GB, free: 22.95 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002744/0.5313, allocations: 1.171 MB / 0.7226 GB, free: 22.47 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001433/0.5328, allocations: 0.8928 MB / 0.7234 GB, free: 22.16 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001815/0.533, allocations: 56.19 kB / 0.7235 GB, free: 22.16 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0038/0.5368, allocations: 1.366 MB / 0.7248 GB, free: 21.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002694/0.5371, allocations: 237.1 kB / 0.7251 GB, free: 21.64 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007669/0.5379, allocations: 0.6345 MB / 0.7257 GB, free: 21.27 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003051/0.5409, allocations: 2.249 MB / 0.7279 GB, free: 20.54 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.5409, allocations: 1.281 kB / 0.7279 GB, free: 20.54 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.142e-06/0.541, allocations: 0 / 0.7279 GB, free: 20.54 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.383e-05/0.541, allocations: 0 / 0.7279 GB, free: 20.54 MB / 490.7 MB 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.003586/0.5446, allocations: 1.727 MB / 0.7296 GB, free: 19.38 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.5447, allocations: 13.44 kB / 0.7296 GB, free: 19.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00254/0.5472, allocations: 404 kB / 0.73 GB, free: 19.29 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002146/0.5494, allocations: 1.129 MB / 0.7311 GB, free: 18.5 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004132/0.5498, allocations: 118.9 kB / 0.7312 GB, free: 18.45 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.5499, allocations: 79.72 kB / 0.7313 GB, free: 18.43 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002265/0.5522, allocations: 0.982 MB / 0.7322 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.111e-05/0.5522, allocations: 1.094 kB / 0.7322 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.838e-05/0.5523, allocations: 31.88 kB / 0.7322 GB, free: 17.78 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.639e-05/0.5524, allocations: 19.56 kB / 0.7323 GB, free: 17.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002618/0.555, allocations: 0.8646 MB / 0.7331 GB, free: 17.35 MB / 490.7 MB 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.005123/0.5601, allocations: 4.851 MB / 0.7378 GB, free: 13.05 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003291/0.5634, allocations: 0.8112 MB / 0.7386 GB, free: 12.63 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006689/0.5641, allocations: 304.1 kB / 0.7389 GB, free: 12.49 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003778/0.5645, allocations: 0.9053 MB / 0.7398 GB, free: 11.43 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.5645, allocations: 45.77 kB / 0.7399 GB, free: 11.38 MB / 490.7 MB Notification: Performance of pre-optimization done (n=44): time 2.134e-06/0.5645, allocations: 0 / 0.7399 GB, free: 11.38 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.00827/0.5728, allocations: 1.929 MB / 0.7417 GB, free: 10.39 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.009e-05/0.5728, allocations: 56.88 kB / 0.7418 GB, free: 10.33 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001189/0.574, allocations: 1.053 MB / 0.7428 GB, free: 9.738 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 4.371e-05/0.5741, allocations: 39.25 kB / 0.7429 GB, free: 9.699 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002643/0.5744, allocations: 0.5166 MB / 0.7434 GB, free: 9.246 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.63e-05/0.5745, allocations: 151.9 kB / 0.7435 GB, free: 9.117 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001905/0.5747, allocations: 129.5 kB / 0.7436 GB, free: 9.035 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.303e-05/0.5747, allocations: 332.5 kB / 0.7439 GB, free: 8.711 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008352/0.5755, allocations: 301.1 kB / 0.7442 GB, free: 8.566 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009257/0.5765, allocations: 0.5039 MB / 0.7447 GB, free: 8.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001477/0.578, allocations: 0.6834 MB / 0.7454 GB, free: 7.715 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.879e-06/0.578, allocations: 2.906 kB / 0.7454 GB, free: 7.715 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002411/0.5804, allocations: 0.9824 MB / 0.7464 GB, free: 7.215 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.5804, allocations: 6.344 kB / 0.7464 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.685e-06/0.5804, allocations: 5.375 kB / 0.7464 GB, free: 7.215 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00119/0.5816, allocations: 316.7 kB / 0.7467 GB, free: 7.07 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004852/0.5821, allocations: 122.2 kB / 0.7468 GB, free: 7.035 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001268/0.5834, allocations: 0.9151 MB / 0.7477 GB, free: 6.309 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001197/0.5846, allocations: 171.4 kB / 0.7478 GB, free: 6.219 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-05/0.5847, allocations: 31.05 kB / 0.7479 GB, free: 6.211 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001042/0.5857, allocations: 0.5141 MB / 0.7484 GB, free: 5.902 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008991/0.5867, allocations: 0.4982 MB / 0.7489 GB, free: 5.504 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001478/0.5881, allocations: 0.6724 MB / 0.7495 GB, free: 5.066 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.5882, allocations: 4 kB / 0.7495 GB, free: 5.062 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.002297/0.5905, allocations: 0.969 MB / 0.7505 GB, free: 4.082 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.051e-05/0.5905, allocations: 15.94 kB / 0.7505 GB, free: 4.066 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.977e-06/0.5905, allocations: 7.938 kB / 0.7505 GB, free: 4.059 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009919/0.5915, allocations: 308.6 kB / 0.7508 GB, free: 3.754 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004642/0.592, allocations: 119.8 kB / 0.7509 GB, free: 3.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00117/0.5931, allocations: 0.9138 MB / 0.7518 GB, free: 2.699 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00112/0.5943, allocations: 155.6 kB / 0.7519 GB, free: 2.547 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.476e-05/0.5943, allocations: 27.98 kB / 0.752 GB, free: 2.52 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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.0001297/0.5945, allocations: 221.5 kB / 0.7522 GB, free: 2.297 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001366/0.5946, allocations: 110.6 kB / 0.7523 GB, free: 2.188 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00351/0.5981, allocations: 1.116 MB / 0.7534 GB, free: 1.055 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.195e-05/0.5982, allocations: 11.98 kB / 0.7534 GB, free: 1.043 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.738e-06/0.5982, allocations: 3.938 kB / 0.7534 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.5982, allocations: 0 / 0.7534 GB, free: 1.039 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004855/0.603, allocations: 2.185 MB / 0.7555 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.334e-06/0.6031, allocations: 4 kB / 0.7555 GB, free: 14.78 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002788/0.6034, allocations: 63.88 kB / 0.7556 GB, free: 14.72 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/0.6044, allocations: 316.7 kB / 0.7559 GB, free: 14.41 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.6045, allocations: 19.98 kB / 0.7559 GB, free: 14.39 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001473/0.606, allocations: 0.9344 MB / 0.7568 GB, free: 13.43 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.929e-06/0.606, allocations: 7.875 kB / 0.7568 GB, free: 13.42 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004957/0.6109, allocations: 2.274 MB / 0.759 GB, free: 11.06 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003993/0.6114, allocations: 267.5 kB / 0.7593 GB, free: 10.78 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001319/0.6115, allocations: 23.88 kB / 0.7593 GB, free: 10.76 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008633/0.6124, allocations: 95.78 kB / 0.7594 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.404e-05/0.6125, allocations: 43.89 kB / 0.7595 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.097e-05/0.6125, allocations: 23.98 kB / 0.7595 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001055/0.6136, allocations: 0.735 MB / 0.7602 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6136, allocations: 0 / 0.7602 GB, free: 9.855 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001665/0.6153, allocations: 0.5886 MB / 0.7608 GB, free: 9.266 MB / 0.4948 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 (34): * Single equations (assignments): 29 * 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.0007223/0.616, allocations: 382.2 kB / 0.7611 GB, free: 8.914 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003066/0.6191, allocations: 1.097 MB / 0.7622 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.6191, allocations: 64 / 0.7622 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000892/0.62, allocations: 360.4 kB / 0.7626 GB, free: 7.469 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002275/0.6223, allocations: 0.4895 MB / 0.763 GB, free: 6.988 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005186/0.6275, allocations: 2.743 MB / 0.7657 GB, free: 4.18 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005755/0.6281, allocations: 1.081 MB / 0.7668 GB, free: 3.07 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0008175/0.6289, allocations: 220.7 kB / 0.767 GB, free: 2.852 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000181/0.6291, allocations: 79.41 kB / 0.7671 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of SimCode: time 2.5e-07/0.6291, allocations: 0 / 0.7671 GB, free: 2.773 MB / 0.4948 GB Notification: Performance of Templates: time 0.03504/0.6641, allocations: 24.62 MB / 0.7911 GB, free: 10.42 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)