Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001276/0.001276, allocations: 106.1 kB / 16.41 MB, free: 6.484 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.001315/0.001315, allocations: 189.6 kB / 17.34 MB, free: 5.75 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.36/1.36, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8265/0.8265, allocations: 132.2 MB / 423.4 MB, free: 6.582 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 70.8 kB / 0.582 GB, free: 23.8 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1585/0.1598, allocations: 80.21 MB / 0.6603 GB, free: 10.26 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.07254/0.2324, allocations: 75.13 MB / 0.7337 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01838/0.2508, allocations: 12.72 MB / 0.7461 GB, free: 2.117 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002838/0.2536, allocations: 67.62 kB / 0.7462 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002355/0.256, allocations: 0.8307 MB / 0.747 GB, free: 1.215 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.3748/0.6309, allocations: 2.449 MB / 0.7494 GB, free: 28.01 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004114/0.635, allocations: 1.399 MB / 0.7507 GB, free: 28.01 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007174/0.6422, allocations: 4.375 MB / 0.755 GB, free: 28.01 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003062/0.6453, allocations: 1.438 MB / 0.7564 GB, free: 27.88 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004958/0.6502, allocations: 1.662 MB / 0.758 GB, free: 27.88 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003136/0.6534, allocations: 1.194 MB / 0.7592 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0006256/0.654, allocations: 162.6 kB / 0.7594 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004212/0.6583, allocations: 1.406 MB / 0.7607 GB, free: 27.68 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005808/0.6589, allocations: 404.7 kB / 0.7611 GB, free: 27.61 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001909/0.6608, allocations: 0.9067 MB / 0.762 GB, free: 27.38 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005706/0.6665, allocations: 2.873 MB / 0.7648 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.63e-06/0.6665, allocations: 1.656 kB / 0.7648 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.342e-06/0.6665, allocations: 0 / 0.7648 GB, free: 27.08 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.318e-05/0.6666, allocations: 0 / 0.7648 GB, free: 27.08 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.00465/0.6712, allocations: 2.083 MB / 0.7669 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.949e-05/0.6713, allocations: 9.406 kB / 0.7669 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.6724, allocations: 229 kB / 0.7671 GB, free: 25.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003029/0.6754, allocations: 1.523 MB / 0.7686 GB, free: 25.51 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.387e-05/0.6755, allocations: 73.19 kB / 0.7686 GB, free: 25.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.6757, allocations: 111.2 kB / 0.7687 GB, free: 25.5 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002128/0.6778, allocations: 1.096 MB / 0.7698 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.563e-05/0.6779, allocations: 1.312 kB / 0.7698 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-05/0.678, allocations: 38.28 kB / 0.7698 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-05/0.678, allocations: 32.72 kB / 0.7699 GB, free: 25.37 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001899/0.6799, allocations: 0.8839 MB / 0.7707 GB, free: 25.36 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.006141/0.6861, allocations: 4.893 MB / 0.7755 GB, free: 23.18 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001381/0.6875, allocations: 0.6179 MB / 0.7761 GB, free: 23.14 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007042/0.6882, allocations: 358.1 kB / 0.7765 GB, free: 23.12 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004906/0.6887, allocations: 0.8257 MB / 0.7773 GB, free: 22.19 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.6887, allocations: 46.67 kB / 0.7773 GB, free: 22.14 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.765e-06/0.6887, allocations: 5 kB / 0.7773 GB, free: 22.14 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007411/0.6961, allocations: 1.675 MB / 0.779 GB, free: 21.88 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.813e-05/0.6962, allocations: 58.19 kB / 0.779 GB, free: 21.82 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002055/0.6983, allocations: 1.229 MB / 0.7802 GB, free: 21.66 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001687/0.6985, allocations: 37.36 kB / 0.7803 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004342/0.6989, allocations: 0.6046 MB / 0.7808 GB, free: 21.42 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002207/0.6991, allocations: 210 kB / 0.781 GB, free: 21.28 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.6994, allocations: 163.7 kB / 0.7812 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.235e-05/0.6994, allocations: 332.5 kB / 0.7815 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006735/0.7001, allocations: 285.8 kB / 0.7818 GB, free: 20.87 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007751/0.7009, allocations: 0.4892 MB / 0.7823 GB, free: 20.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001357/0.7023, allocations: 0.7153 MB / 0.783 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.7023, allocations: 0 / 0.783 GB, free: 20.2 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004931/0.7072, allocations: 1.275 MB / 0.7842 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.4e-05/0.7073, allocations: 7.375 kB / 0.7842 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.352e-05/0.7073, allocations: 6.797 kB / 0.7842 GB, free: 19.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006951/0.708, allocations: 136.7 kB / 0.7844 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007077/0.7087, allocations: 159.7 kB / 0.7845 GB, free: 19.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007988/0.7095, allocations: 0.6934 MB / 0.7852 GB, free: 19.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00143/0.711, allocations: 117.6 kB / 0.7853 GB, free: 19.15 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.875e-05/0.7111, allocations: 34.66 kB / 0.7853 GB, free: 19.14 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001187/0.7123, allocations: 0.5535 MB / 0.7859 GB, free: 18.86 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007443/0.713, allocations: 492.1 kB / 0.7863 GB, free: 18.55 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001342/0.7144, allocations: 0.7062 MB / 0.787 GB, free: 18.19 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.507e-06/0.7144, allocations: 0 / 0.787 GB, free: 18.19 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004734/0.7191, allocations: 1.261 MB / 0.7883 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.7192, allocations: 5.969 kB / 0.7883 GB, free: 17.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.7192, allocations: 9.625 kB / 0.7883 GB, free: 17.82 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005129/0.7197, allocations: 136.4 kB / 0.7884 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006428/0.7204, allocations: 161.1 kB / 0.7886 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006955/0.7211, allocations: 0.695 MB / 0.7892 GB, free: 17.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001497/0.7226, allocations: 100.6 kB / 0.7893 GB, free: 17.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.536e-05/0.7227, allocations: 41.05 kB / 0.7894 GB, free: 17.15 MB / 0.5762 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 (79): * Single equations (assignments): 78 * 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,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0002729/0.7229, allocations: 225.2 kB / 0.7896 GB, free: 16.95 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002997/0.7233, allocations: 138.2 kB / 0.7897 GB, free: 16.88 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004528/0.7278, allocations: 1.256 MB / 0.7909 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.178e-05/0.7278, allocations: 13.36 kB / 0.791 GB, free: 16.32 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.468e-06/0.7279, allocations: 6.938 kB / 0.791 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003958/0.7318, allocations: 1.096 MB / 0.792 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006862/0.7387, allocations: 2.614 MB / 0.7946 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.515e-06/0.7388, allocations: 2.844 kB / 0.7946 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004786/0.7393, allocations: 115.2 kB / 0.7947 GB, free: 13.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004689/0.7397, allocations: 131 kB / 0.7948 GB, free: 13.85 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.546e-05/0.7398, allocations: 20.66 kB / 0.7948 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004489/0.7443, allocations: 2.586 MB / 0.7974 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.151e-06/0.7443, allocations: 8.781 kB / 0.7974 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005286/0.7496, allocations: 1.694 MB / 0.799 GB, free: 10.66 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008688/0.7505, allocations: 316.9 kB / 0.7993 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002259/0.7508, allocations: 20.27 kB / 0.7994 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008436/0.7516, allocations: 47.81 kB / 0.7994 GB, free: 10.35 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001274/0.7517, allocations: 65.53 kB / 0.7995 GB, free: 10.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.949e-05/0.7518, allocations: 32.34 kB / 0.7995 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001114/0.7529, allocations: 0.8777 MB / 0.8003 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7529, allocations: 0 / 0.8003 GB, free: 9.812 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001923/0.7549, allocations: 0.7177 MB / 0.801 GB, free: 9.664 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (chi.con.vol.dynBal.U,chi.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 (56): * Single equations (assignments): 51 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008752/0.7557, allocations: 465.7 kB / 0.8015 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002415/0.7582, allocations: 1.118 MB / 0.8026 GB, free: 8.973 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.782e-06/0.7582, allocations: 4 kB / 0.8026 GB, free: 8.969 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001386/0.7596, allocations: 0.5545 MB / 0.8031 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003428/0.763, allocations: 0.7976 MB / 0.8039 GB, free: 8.258 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003267/0.7663, allocations: 2.305 MB / 0.8062 GB, free: 6.172 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/0.7668, allocations: 1.172 MB / 0.8073 GB, free: 4.973 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000294/0.7671, allocations: 111.4 kB / 0.8074 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.7671, allocations: 0 / 0.8074 GB, free: 4.863 MB / 0.5762 GB Notification: Performance of Templates: time 0.04092/0.808, allocations: 31.41 MB / 0.8381 GB, free: 5.738 MB / 0.6075 GB make -j1 -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)