Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001089/0.001089, allocations: 183.5 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.6978/0.6978, allocations: 133.4 MB / 150.1 MB, free: 11.13 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.5/1.5, allocations: 222.9 MB / 404.7 MB, free: 6.066 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.001002/0.001003, allocations: 103.4 kB / 485.9 MB, free: 7.238 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 51.92 kB / 0.5636 GB, free: 69.92 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1443, allocations: 80.42 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.3182/0.4626, allocations: 60.77 MB / 0.7015 GB, free: 25.93 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02392/0.4866, allocations: 12.06 MB / 0.7132 GB, free: 25.66 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002915/0.4895, allocations: 53.44 kB / 0.7133 GB, free: 25.66 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001891/0.4915, allocations: 0.5524 MB / 0.7138 GB, free: 25.64 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007402/0.4989, allocations: 1.8 MB / 0.7156 GB, free: 25.23 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003728/0.5027, allocations: 1.066 MB / 0.7166 GB, free: 24.79 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005834/0.5085, allocations: 3.921 MB / 0.7205 GB, free: 23.33 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001838/0.5104, allocations: 0.9229 MB / 0.7214 GB, free: 22.94 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002776/0.5132, allocations: 1.175 MB / 0.7225 GB, free: 22.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002008/0.5152, allocations: 0.898 MB / 0.7234 GB, free: 22.14 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003566/0.5156, allocations: 56.38 kB / 0.7234 GB, free: 22.14 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003601/0.5192, allocations: 1.353 MB / 0.7248 GB, free: 21.75 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0004413/0.5197, allocations: 231.1 kB / 0.725 GB, free: 21.63 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.5212, allocations: 0.6354 MB / 0.7256 GB, free: 21.26 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006306/0.5275, allocations: 2.241 MB / 0.7278 GB, free: 20.53 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.254e-06/0.5276, allocations: 3.188 kB / 0.7278 GB, free: 20.53 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.5276, allocations: 0 / 0.7278 GB, free: 20.53 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.515e-05/0.5276, allocations: 0.9688 kB / 0.7278 GB, free: 20.53 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.004158/0.5318, allocations: 1.721 MB / 0.7295 GB, free: 19.37 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.5319, allocations: 9.469 kB / 0.7295 GB, free: 19.37 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002388/0.5343, allocations: 411.3 kB / 0.7299 GB, free: 19.28 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002177/0.5365, allocations: 1.128 MB / 0.731 GB, free: 18.52 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003779/0.5369, allocations: 123 kB / 0.7311 GB, free: 18.47 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001101/0.537, allocations: 79.53 kB / 0.7312 GB, free: 18.45 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002319/0.5393, allocations: 0.9726 MB / 0.7321 GB, free: 17.82 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.355e-05/0.5394, allocations: 1.219 kB / 0.7321 GB, free: 17.82 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.958e-05/0.5394, allocations: 31.44 kB / 0.7322 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.706e-05/0.5395, allocations: 20.19 kB / 0.7322 GB, free: 17.8 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002295/0.5418, allocations: 0.8609 MB / 0.733 GB, free: 17.37 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.005978/0.5478, allocations: 4.835 MB / 0.7377 GB, free: 13.08 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003509/0.5513, allocations: 0.7941 MB / 0.7385 GB, free: 12.68 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007024/0.552, allocations: 307.8 kB / 0.7388 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004318/0.5525, allocations: 0.9012 MB / 0.7397 GB, free: 11.47 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.5525, allocations: 37.5 kB / 0.7397 GB, free: 11.43 MB / 490.7 MB Notification: Performance of pre-optimization done (n=43): time 2.394e-06/0.5525, allocations: 0 / 0.7397 GB, free: 11.43 MB / 490.7 MB Notification: Performance of matching and sorting (n=43): time 0.007512/0.56, allocations: 1.757 MB / 0.7414 GB, free: 10.52 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.525e-05/0.5601, allocations: 60.48 kB / 0.7415 GB, free: 10.45 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001642/0.5617, allocations: 1.054 MB / 0.7425 GB, free: 9.863 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.439e-05/0.5618, allocations: 35.02 kB / 0.7426 GB, free: 9.828 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000343/0.5622, allocations: 0.5176 MB / 0.7431 GB, free: 9.371 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001148/0.5623, allocations: 152.7 kB / 0.7432 GB, free: 9.242 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002245/0.5625, allocations: 128.5 kB / 0.7433 GB, free: 9.164 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 5.036e-05/0.5626, allocations: 330.7 kB / 0.7437 GB, free: 8.84 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008624/0.5635, allocations: 303.7 kB / 0.7439 GB, free: 8.691 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009901/0.5645, allocations: 0.4991 MB / 0.7444 GB, free: 8.289 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.5661, allocations: 0.6759 MB / 0.7451 GB, free: 7.848 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.5661, allocations: 2.906 kB / 0.7451 GB, free: 7.848 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003675/0.5698, allocations: 1.138 MB / 0.7462 GB, free: 7.273 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5698, allocations: 8.188 kB / 0.7462 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.038e-05/0.5698, allocations: 2.812 kB / 0.7462 GB, free: 7.273 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001295/0.5711, allocations: 315.5 kB / 0.7465 GB, free: 7.129 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005492/0.5717, allocations: 124.3 kB / 0.7466 GB, free: 7.09 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001435/0.5731, allocations: 0.9138 MB / 0.7475 GB, free: 6.367 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001597/0.5747, allocations: 178.9 kB / 0.7477 GB, free: 6.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001026/0.5748, allocations: 29.92 kB / 0.7477 GB, free: 6.262 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001203/0.5761, allocations: 0.5024 MB / 0.7482 GB, free: 5.961 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009852/0.5771, allocations: 0.4987 MB / 0.7487 GB, free: 5.562 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001705/0.5788, allocations: 0.6662 MB / 0.7494 GB, free: 5.125 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.847e-06/0.5788, allocations: 2.5 kB / 0.7494 GB, free: 5.125 MB / 490.7 MB Notification: Performance of matching and sorting (n=65) (initialization_lambda0): time 0.003604/0.5824, allocations: 1.111 MB / 0.7504 GB, free: 4.031 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.5824, allocations: 4 kB / 0.7504 GB, free: 4.027 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.5825, allocations: 7.984 kB / 0.7504 GB, free: 4.02 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00109/0.5836, allocations: 305 kB / 0.7507 GB, free: 3.719 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.5841, allocations: 123.8 kB / 0.7509 GB, free: 3.598 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001281/0.5853, allocations: 0.9095 MB / 0.7517 GB, free: 2.664 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.5869, allocations: 155.5 kB / 0.7519 GB, free: 2.512 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.243e-05/0.5869, allocations: 31.98 kB / 0.7519 GB, free: 2.48 MB / 490.7 MB 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.0002001/0.5871, allocations: 216.1 kB / 0.7521 GB, free: 2.262 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003039/0.5875, allocations: 110.7 kB / 0.7522 GB, free: 2.152 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00223/0.5897, allocations: 0.9299 MB / 0.7531 GB, free: 1.203 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.279e-05/0.5897, allocations: 4 kB / 0.7531 GB, free: 1.199 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.5897, allocations: 7.875 kB / 0.7532 GB, free: 1.191 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.261e-06/0.5897, allocations: 3.984 kB / 0.7532 GB, free: 1.188 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005435/0.5952, allocations: 2.16 MB / 0.7553 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.724e-06/0.5952, allocations: 0 / 0.7553 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000291/0.5955, allocations: 67.89 kB / 0.7553 GB, free: 14.89 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001105/0.5966, allocations: 303.9 kB / 0.7556 GB, free: 14.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.434e-05/0.5967, allocations: 11.98 kB / 0.7556 GB, free: 14.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/0.5983, allocations: 0.9475 MB / 0.7566 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.511e-06/0.5983, allocations: 4.031 kB / 0.7566 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005811/0.6041, allocations: 2.246 MB / 0.7588 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006789/0.6049, allocations: 275.5 kB / 0.759 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002707/0.6051, allocations: 8 kB / 0.759 GB, free: 10.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001161/0.6063, allocations: 91.89 kB / 0.7591 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.233e-05/0.6064, allocations: 43.83 kB / 0.7592 GB, free: 10.84 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.32e-05/0.6065, allocations: 23.98 kB / 0.7592 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001195/0.6077, allocations: 0.7352 MB / 0.7599 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.21e-07/0.6077, allocations: 0 / 0.7599 GB, free: 10.08 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.002238/0.61, allocations: 0.5809 MB / 0.7605 GB, free: 9.496 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 (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.0008947/0.6109, allocations: 369.3 kB / 0.7608 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003385/0.6143, allocations: 1.086 MB / 0.7619 GB, free: 8.07 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 4.688e-06/0.6143, allocations: 4 kB / 0.7619 GB, free: 8.066 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009607/0.6152, allocations: 350.3 kB / 0.7622 GB, free: 7.727 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00304/0.6183, allocations: 0.5146 MB / 0.7627 GB, free: 7.223 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006119/0.6244, allocations: 2.735 MB / 0.7654 GB, free: 4.422 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007742/0.6252, allocations: 1.077 MB / 0.7664 GB, free: 3.316 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.00104/0.6263, allocations: 212.7 kB / 0.7666 GB, free: 3.105 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002188/0.6265, allocations: 79.41 kB / 0.7667 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of SimCode: time 6.91e-07/0.6265, allocations: 0 / 0.7667 GB, free: 3.027 MB / 0.4948 GB Notification: Performance of Templates: time 0.04046/0.667, allocations: 24.35 MB / 0.7905 GB, free: 10.98 MB / 0.5261 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)