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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005351/0.005351, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001167/0.001167, allocations: 195.4 kB / 16.67 MB, free: 5.926 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.402/1.402, allocations: 222.9 MB / 240.4 MB, free: 4.316 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.116/1.116, allocations: 135.1 MB / 425.7 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 63.89 kB / 0.5856 GB, free: 3.352 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4856/0.487, allocations: 80.92 MB / 0.6646 GB, free: 7.578 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05981/0.5469, allocations: 61.14 MB / 0.7243 GB, free: 4.281 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0181/0.565, allocations: 11.98 MB / 0.736 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/0.5676, allocations: 59.62 kB / 0.7361 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002244/0.5699, allocations: 0.7025 MB / 0.7368 GB, free: 7.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007119/0.577, allocations: 2.06 MB / 0.7388 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004052/0.5811, allocations: 1.21 MB / 0.74 GB, free: 4.23 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004978/0.5861, allocations: 3.081 MB / 0.743 GB, free: 1.145 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001743/0.5879, allocations: 1.104 MB / 0.7441 GB, free: 12 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003637/0.5915, allocations: 1.368 MB / 0.7454 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001747/0.5933, allocations: 0.8906 MB / 0.7463 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002267/0.5935, allocations: 112 kB / 0.7464 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003179/0.5967, allocations: 1.443 MB / 0.7478 GB, free: 12.19 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003223/0.5971, allocations: 294.8 kB / 0.7481 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0008916/0.598, allocations: 0.6919 MB / 0.7487 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004103/0.6021, allocations: 2.312 MB / 0.751 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.6021, allocations: 0 / 0.751 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.814e-06/0.6021, allocations: 0 / 0.751 GB, free: 8.891 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.172e-05/0.6021, allocations: 0 / 0.751 GB, free: 8.891 MB / 0.5762 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.003312/0.6055, allocations: 1.722 MB / 0.7527 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.658e-05/0.6055, allocations: 12.03 kB / 0.7527 GB, free: 7.094 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002211/0.6077, allocations: 414.6 kB / 0.7531 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002302/0.6101, allocations: 1.163 MB / 0.7542 GB, free: 5.469 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.143e-05/0.6101, allocations: 62 kB / 0.7543 GB, free: 5.406 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001476/0.6103, allocations: 80 kB / 0.7544 GB, free: 5.328 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.6124, allocations: 1.001 MB / 0.7553 GB, free: 4.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.6124, allocations: 3.938 kB / 0.7553 GB, free: 4.266 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.069e-05/0.6125, allocations: 36 kB / 0.7554 GB, free: 4.23 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.6125, allocations: 16 kB / 0.7554 GB, free: 4.215 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.6148, allocations: 0.8469 MB / 0.7562 GB, free: 3.363 MB / 0.5762 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.006987/0.6218, allocations: 5.215 MB / 0.7613 GB, free: 13.78 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003347/0.6251, allocations: 0.7895 MB / 0.7621 GB, free: 12.98 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006975/0.6258, allocations: 296.6 kB / 0.7624 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007/0.6265, allocations: 0.9064 MB / 0.7633 GB, free: 11.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.6266, allocations: 34.56 kB / 0.7633 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.685e-06/0.6266, allocations: 0 / 0.7633 GB, free: 11.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.00698/0.6336, allocations: 1.694 MB / 0.7649 GB, free: 9.812 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.691e-05/0.6336, allocations: 55.41 kB / 0.765 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001623/0.6353, allocations: 1.076 MB / 0.766 GB, free: 8.656 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 6.53e-05/0.6354, allocations: 33.7 kB / 0.7661 GB, free: 8.617 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004346/0.6358, allocations: 0.5428 MB / 0.7666 GB, free: 8.07 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001379/0.6359, allocations: 149.8 kB / 0.7668 GB, free: 7.922 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002209/0.6362, allocations: 134.2 kB / 0.7669 GB, free: 7.785 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.6363, allocations: 326 kB / 0.7672 GB, free: 7.461 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008894/0.6372, allocations: 311.2 kB / 0.7675 GB, free: 7.152 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.6383, allocations: 0.529 MB / 0.768 GB, free: 6.531 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001739/0.64, allocations: 0.7097 MB / 0.7687 GB, free: 5.75 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.64, allocations: 4 kB / 0.7687 GB, free: 5.746 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002812/0.6429, allocations: 1.012 MB / 0.7697 GB, free: 4.723 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.752e-05/0.6429, allocations: 7.938 kB / 0.7697 GB, free: 4.715 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.55e-05/0.6429, allocations: 11.94 kB / 0.7697 GB, free: 4.703 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001347/0.6443, allocations: 315.2 kB / 0.77 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005691/0.6449, allocations: 127.8 kB / 0.7701 GB, free: 4.27 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001463/0.6463, allocations: 0.8996 MB / 0.771 GB, free: 3.344 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/0.6476, allocations: 147.2 kB / 0.7711 GB, free: 3.199 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.25e-05/0.6476, allocations: 31.98 kB / 0.7712 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001236/0.6489, allocations: 0.509 MB / 0.7717 GB, free: 2.652 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001064/0.65, allocations: 0.5252 MB / 0.7722 GB, free: 2.035 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001683/0.6517, allocations: 0.6942 MB / 0.7729 GB, free: 1.27 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.142e-06/0.6517, allocations: 7.938 kB / 0.7729 GB, free: 1.262 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.00274/0.6544, allocations: 1.004 MB / 0.7739 GB, free: 252 kB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.6545, allocations: 11.94 kB / 0.7739 GB, free: 240 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.6545, allocations: 4 kB / 0.7739 GB, free: 236 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.6556, allocations: 304.6 kB / 0.7742 GB, free: 15.93 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005416/0.6562, allocations: 127.8 kB / 0.7743 GB, free: 15.8 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001473/0.6576, allocations: 0.903 MB / 0.7752 GB, free: 14.88 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001235/0.6589, allocations: 131.5 kB / 0.7753 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.63e-05/0.659, allocations: 28 kB / 0.7753 GB, free: 14.72 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * 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.0002736/0.6593, allocations: 228 kB / 0.7755 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002574/0.6595, allocations: 114.5 kB / 0.7756 GB, free: 14.38 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002532/0.6621, allocations: 0.9146 MB / 0.7765 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.63e-05/0.6621, allocations: 4 kB / 0.7765 GB, free: 13.44 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.833e-06/0.6621, allocations: 3.938 kB / 0.7765 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.867e-06/0.6621, allocations: 3.984 kB / 0.7765 GB, free: 13.43 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005428/0.6676, allocations: 2.138 MB / 0.7786 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.035e-05/0.6676, allocations: 8.062 kB / 0.7786 GB, free: 11.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.6679, allocations: 63.83 kB / 0.7787 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.6689, allocations: 295 kB / 0.779 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.386e-05/0.669, allocations: 16 kB / 0.779 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.6705, allocations: 0.9191 MB / 0.7799 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.6705, allocations: 4 kB / 0.7799 GB, free: 9.883 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003694/0.6742, allocations: 1.148 MB / 0.781 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005159/0.6747, allocations: 267.5 kB / 0.7813 GB, free: 8.41 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002386/0.675, allocations: 11.94 kB / 0.7813 GB, free: 8.398 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009301/0.6759, allocations: 75.91 kB / 0.7814 GB, free: 8.324 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.513e-05/0.676, allocations: 43.77 kB / 0.7814 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.664e-05/0.6761, allocations: 19.98 kB / 0.7814 GB, free: 8.262 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001428/0.6775, allocations: 0.759 MB / 0.7822 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.01e-07/0.6775, allocations: 0 / 0.7822 GB, free: 7.496 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001863/0.6794, allocations: 0.5654 MB / 0.7827 GB, free: 6.93 MB / 0.6075 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.0009496/0.6803, allocations: 380.4 kB / 0.7831 GB, free: 6.559 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003383/0.6837, allocations: 1.121 MB / 0.7842 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 8.966e-06/0.6838, allocations: 0 / 0.7842 GB, free: 5.438 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0009444/0.6847, allocations: 351 kB / 0.7845 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00296/0.6877, allocations: 0.5088 MB / 0.785 GB, free: 4.594 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007385/0.6951, allocations: 2.013 MB / 0.787 GB, free: 2.52 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001415/0.6965, allocations: 1.061 MB / 0.788 GB, free: 1.426 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.001154/0.6977, allocations: 224.8 kB / 0.7882 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002728/0.698, allocations: 75.42 kB / 0.7883 GB, free: 1.129 MB / 0.6075 GB Notification: Performance of SimCode: time 1.242e-06/0.698, allocations: 4 kB / 0.7883 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of Templates: time 0.04431/0.7423, allocations: 25 MB / 0.8127 GB, free: 8.418 MB / 0.6387 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)