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.001662/0.001661, allocations: 102.3 kB / 16.4 MB, free: 6.406 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.001996/0.001996, allocations: 192.2 kB / 17.35 MB, free: 5.695 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 / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8102/0.8102, allocations: 135.1 MB / 426.3 MB, free: 4.109 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 70.11 kB / 0.5863 GB, free: 21.61 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1638/0.165, allocations: 80.92 MB / 0.6653 GB, free: 5.805 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05517/0.2202, allocations: 61.15 MB / 0.725 GB, free: 8.453 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0159/0.2362, allocations: 11.98 MB / 0.7367 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002071/0.2383, allocations: 63.62 kB / 0.7368 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00182/0.2401, allocations: 0.6791 MB / 0.7374 GB, free: 11.69 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.005242/0.2454, allocations: 1.959 MB / 0.7393 GB, free: 9.723 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002973/0.2484, allocations: 1.212 MB / 0.7405 GB, free: 8.52 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.004241/0.2527, allocations: 3.083 MB / 0.7435 GB, free: 5.43 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.2542, allocations: 1.092 MB / 0.7446 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003101/0.2573, allocations: 1.367 MB / 0.7459 GB, free: 2.938 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001448/0.2588, allocations: 0.8924 MB / 0.7468 GB, free: 2.043 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0001796/0.259, allocations: 112 kB / 0.7469 GB, free: 1.934 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002715/0.2617, allocations: 1.447 MB / 0.7483 GB, free: 496 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0002766/0.262, allocations: 290.9 kB / 0.7486 GB, free: 204 kB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.4668/0.7288, allocations: 0.6849 MB / 0.7493 GB, free: 23.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006514/0.7354, allocations: 2.305 MB / 0.7515 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.7354, allocations: 1.281 kB / 0.7515 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.447e-06/0.7354, allocations: 0.8438 kB / 0.7515 GB, free: 23.1 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.927e-05/0.7355, allocations: 1.203 kB / 0.7515 GB, free: 23.1 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.004036/0.7395, allocations: 1.732 MB / 0.7532 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.005e-05/0.7396, allocations: 9.766 kB / 0.7532 GB, free: 22.25 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002382/0.742, allocations: 410.5 kB / 0.7536 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002487/0.7445, allocations: 1.163 MB / 0.7547 GB, free: 21.8 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/0.7446, allocations: 62.19 kB / 0.7548 GB, free: 21.8 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000133/0.7447, allocations: 82.66 kB / 0.7549 GB, free: 21.8 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.7469, allocations: 0.9942 MB / 0.7559 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.181e-05/0.747, allocations: 5.312 kB / 0.7559 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.578e-05/0.7471, allocations: 31.75 kB / 0.7559 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.64e-05/0.7471, allocations: 22.73 kB / 0.7559 GB, free: 21.61 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002417/0.7495, allocations: 0.8489 MB / 0.7567 GB, free: 21.59 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.00744/0.757, allocations: 5.213 MB / 0.7618 GB, free: 18.49 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003834/0.7608, allocations: 0.7757 MB / 0.7626 GB, free: 18.45 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008865/0.7617, allocations: 297.5 kB / 0.7629 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005306/0.7623, allocations: 0.9043 MB / 0.7638 GB, free: 17.41 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.668e-05/0.7623, allocations: 44.69 kB / 0.7638 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.886e-06/0.7623, allocations: 0 / 0.7638 GB, free: 17.36 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007888/0.7702, allocations: 1.697 MB / 0.7655 GB, free: 17.11 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.461e-05/0.7703, allocations: 57.28 kB / 0.7655 GB, free: 17.05 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001967/0.7723, allocations: 1.075 MB / 0.7666 GB, free: 16.89 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001069/0.7724, allocations: 37.11 kB / 0.7666 GB, free: 16.86 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003931/0.7728, allocations: 0.535 MB / 0.7671 GB, free: 16.66 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.7729, allocations: 147.5 kB / 0.7673 GB, free: 16.57 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.7732, allocations: 138.1 kB / 0.7674 GB, free: 16.55 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.362e-05/0.7732, allocations: 334.5 kB / 0.7677 GB, free: 16.23 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008756/0.7741, allocations: 305.6 kB / 0.768 GB, free: 16.22 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001041/0.7752, allocations: 0.5316 MB / 0.7685 GB, free: 15.96 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001666/0.7768, allocations: 0.7065 MB / 0.7692 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.563e-06/0.7769, allocations: 1 kB / 0.7692 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003081/0.78, allocations: 1.007 MB / 0.7702 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.71e-05/0.78, allocations: 7.375 kB / 0.7702 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.78, allocations: 8.625 kB / 0.7702 GB, free: 15.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001314/0.7813, allocations: 306.7 kB / 0.7705 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005734/0.7819, allocations: 133 kB / 0.7706 GB, free: 15.61 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001385/0.7833, allocations: 0.9019 MB / 0.7715 GB, free: 15.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.7849, allocations: 152.6 kB / 0.7717 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.61e-05/0.785, allocations: 33.38 kB / 0.7717 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001331/0.7863, allocations: 0.5063 MB / 0.7722 GB, free: 14.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001006/0.7873, allocations: 0.5228 MB / 0.7727 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001596/0.7889, allocations: 0.7066 MB / 0.7734 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.14e-06/0.789, allocations: 3.125 kB / 0.7734 GB, free: 14.47 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002908/0.7919, allocations: 1.006 MB / 0.7744 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.781e-05/0.7919, allocations: 8.312 kB / 0.7744 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/0.7919, allocations: 4.344 kB / 0.7744 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.793, allocations: 295.2 kB / 0.7747 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005764/0.7936, allocations: 132.3 kB / 0.7748 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001338/0.795, allocations: 0.8965 MB / 0.7757 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001582/0.7966, allocations: 143.4 kB / 0.7758 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.19e-05/0.7967, allocations: 34.3 kB / 0.7758 GB, free: 13.77 MB / 0.5762 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.0002832/0.797, allocations: 223.1 kB / 0.776 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002678/0.7972, allocations: 107.7 kB / 0.7761 GB, free: 13.52 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002568/0.7998, allocations: 0.9208 MB / 0.777 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.163e-05/0.7998, allocations: 5.469 kB / 0.7771 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.7999, allocations: 3.312 kB / 0.7771 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.695e-06/0.7999, allocations: 1.219 kB / 0.7771 GB, free: 13.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005482/0.8054, allocations: 2.142 MB / 0.7791 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.088e-05/0.8054, allocations: 3.125 kB / 0.7792 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000282/0.8057, allocations: 63.39 kB / 0.7792 GB, free: 13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009861/0.8067, allocations: 290.9 kB / 0.7795 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.615e-05/0.8067, allocations: 15 kB / 0.7795 GB, free: 12.98 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00136/0.8081, allocations: 0.9317 MB / 0.7804 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.109e-06/0.8081, allocations: 2.125 kB / 0.7804 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003721/0.8118, allocations: 1.143 MB / 0.7815 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006649/0.8125, allocations: 265.3 kB / 0.7818 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.8127, allocations: 16.86 kB / 0.7818 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008309/0.8136, allocations: 66.5 kB / 0.7819 GB, free: 11.98 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.8137, allocations: 39.75 kB / 0.7819 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.744e-05/0.8137, allocations: 24.69 kB / 0.7819 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001285/0.815, allocations: 0.7537 MB / 0.7827 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.9e-07/0.815, allocations: 5.094 kB / 0.7827 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001861/0.8169, allocations: 0.5624 MB / 0.7832 GB, free: 11.78 MB / 0.5762 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.0008688/0.8178, allocations: 382.8 kB / 0.7836 GB, free: 11.64 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003181/0.821, allocations: 1.123 MB / 0.7847 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/0.821, allocations: 5.562 kB / 0.7847 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008686/0.8219, allocations: 339.5 kB / 0.785 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00259/0.8245, allocations: 0.5147 MB / 0.7855 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005159/0.8297, allocations: 2.051 MB / 0.7875 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004456/0.8301, allocations: 1.062 MB / 0.7886 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003044/0.8304, allocations: 84.31 kB / 0.7886 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of SimCode: time 7.71e-07/0.8305, allocations: 0 / 0.7886 GB, free: 9.98 MB / 0.5762 GB Notification: Performance of Templates: time 0.03124/0.8617, allocations: 24.08 MB / 0.8121 GB, free: 11.84 MB / 0.5919 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)