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.001028/0.001028, allocations: 107.9 kB / 16.36 MB, free: 5.824 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.001124/0.001124, allocations: 190.5 kB / 17.29 MB, free: 5.48 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.304/1.304, 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/package.mo): time 0.7743/0.7743, allocations: 132.2 MB / 423.3 MB, free: 6.562 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.89 kB / 0.5032 GB, free: 10.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3302/0.3314, allocations: 80.18 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.06113/0.3926, allocations: 75.13 MB / 0.6548 GB, free: 2.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01687/0.4095, allocations: 12.73 MB / 0.6673 GB, free: 6.129 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002695/0.4122, allocations: 67.62 kB / 0.6673 GB, free: 6.062 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002282/0.4145, allocations: 0.8267 MB / 0.6682 GB, free: 5.23 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006345/0.421, allocations: 2.462 MB / 0.6706 GB, free: 2.758 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003048/0.424, allocations: 1.397 MB / 0.6719 GB, free: 1.375 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00524/0.4293, allocations: 4.384 MB / 0.6762 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001854/0.4311, allocations: 1.439 MB / 0.6776 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003125/0.4343, allocations: 1.629 MB / 0.6792 GB, free: 9.875 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00154/0.4358, allocations: 1.198 MB / 0.6804 GB, free: 8.672 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002028/0.436, allocations: 164 kB / 0.6805 GB, free: 8.512 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002859/0.4389, allocations: 1.404 MB / 0.6819 GB, free: 7.105 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003949/0.4393, allocations: 398.6 kB / 0.6823 GB, free: 6.715 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.4403, allocations: 0.9099 MB / 0.6832 GB, free: 5.801 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003809/0.4441, allocations: 2.859 MB / 0.686 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.923e-06/0.4442, allocations: 4 kB / 0.686 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4442, allocations: 0 / 0.686 GB, free: 2.934 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.968e-05/0.4442, allocations: 0 / 0.686 GB, free: 2.934 MB / 0.5137 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.003517/0.4477, allocations: 2.083 MB / 0.688 GB, free: 0.7852 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.4478, allocations: 12.03 kB / 0.688 GB, free: 0.7734 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00079/0.4486, allocations: 222.9 kB / 0.6882 GB, free: 0.5547 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/0.4511, allocations: 1.524 MB / 0.6897 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.994e-05/0.4511, allocations: 78 kB / 0.6898 GB, free: 14.9 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.4513, allocations: 107.9 kB / 0.6899 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.4531, allocations: 1.096 MB / 0.691 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.544e-05/0.4532, allocations: 4 kB / 0.691 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.208e-05/0.4533, allocations: 36 kB / 0.691 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.424e-05/0.4533, allocations: 28 kB / 0.691 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001759/0.4551, allocations: 0.8861 MB / 0.6919 GB, free: 12.71 MB / 0.5294 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.005481/0.4606, allocations: 4.899 MB / 0.6967 GB, free: 7.52 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.4619, allocations: 0.6237 MB / 0.6973 GB, free: 6.891 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006661/0.4626, allocations: 343.3 kB / 0.6976 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006022/0.4632, allocations: 0.8316 MB / 0.6984 GB, free: 5.539 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.4632, allocations: 43.06 kB / 0.6985 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 1.863e-06/0.4632, allocations: 0 / 0.6985 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.006754/0.47, allocations: 1.678 MB / 0.7001 GB, free: 3.777 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.549e-05/0.47, allocations: 55.97 kB / 0.7001 GB, free: 3.711 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001701/0.4717, allocations: 1.222 MB / 0.7013 GB, free: 2.473 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.899e-05/0.4718, allocations: 41.7 kB / 0.7014 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005157/0.4723, allocations: 0.6026 MB / 0.702 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000229/0.4726, allocations: 216.9 kB / 0.7022 GB, free: 1.602 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000249/0.4728, allocations: 162.5 kB / 0.7023 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.473, allocations: 333.9 kB / 0.7027 GB, free: 1.105 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006864/0.4737, allocations: 288.7 kB / 0.7029 GB, free: 0.8203 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008884/0.4746, allocations: 499.8 kB / 0.7034 GB, free: 260 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/0.4761, allocations: 0.7167 MB / 0.7041 GB, free: 15.49 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.19e-06/0.4761, allocations: 0 / 0.7041 GB, free: 15.49 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004574/0.4807, allocations: 1.265 MB / 0.7053 GB, free: 14.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/0.4807, allocations: 7.984 kB / 0.7053 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.4808, allocations: 4 kB / 0.7053 GB, free: 14.2 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006141/0.4814, allocations: 140.8 kB / 0.7055 GB, free: 14.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006098/0.482, allocations: 159.8 kB / 0.7056 GB, free: 13.9 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008337/0.4828, allocations: 0.6967 MB / 0.7063 GB, free: 13.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009655/0.4838, allocations: 123.1 kB / 0.7064 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.523e-05/0.4839, allocations: 27.98 kB / 0.7065 GB, free: 13.03 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001034/0.4849, allocations: 0.5526 MB / 0.707 GB, free: 12.47 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000793/0.4857, allocations: 495.8 kB / 0.7075 GB, free: 11.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001316/0.4871, allocations: 0.7051 MB / 0.7082 GB, free: 11.16 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.088e-06/0.4871, allocations: 0 / 0.7082 GB, free: 11.16 MB / 0.545 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004403/0.4915, allocations: 1.261 MB / 0.7094 GB, free: 9.883 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.4915, allocations: 16.02 kB / 0.7094 GB, free: 9.867 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.613e-06/0.4915, allocations: 4 kB / 0.7094 GB, free: 9.863 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004697/0.492, allocations: 132.7 kB / 0.7095 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006181/0.4926, allocations: 155.7 kB / 0.7097 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007617/0.4934, allocations: 0.7006 MB / 0.7104 GB, free: 8.852 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009921/0.4944, allocations: 99.7 kB / 0.7105 GB, free: 8.754 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.281e-05/0.4945, allocations: 24 kB / 0.7105 GB, free: 8.73 MB / 0.545 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.0002297/0.4947, allocations: 232.7 kB / 0.7107 GB, free: 8.496 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002927/0.495, allocations: 138.3 kB / 0.7108 GB, free: 8.359 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004439/0.4995, allocations: 1.263 MB / 0.7121 GB, free: 7.086 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.401e-05/0.4995, allocations: 12 kB / 0.7121 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.4995, allocations: 0 / 0.7121 GB, free: 7.074 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003942/0.5035, allocations: 1.099 MB / 0.7132 GB, free: 5.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006642/0.5101, allocations: 2.614 MB / 0.7157 GB, free: 3.211 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.043e-05/0.5102, allocations: 4 kB / 0.7157 GB, free: 3.207 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005509/0.5107, allocations: 111.9 kB / 0.7158 GB, free: 3.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004979/0.5112, allocations: 141 kB / 0.716 GB, free: 2.957 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.506e-05/0.5113, allocations: 19.98 kB / 0.716 GB, free: 2.938 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004733/0.516, allocations: 2.583 MB / 0.7185 GB, free: 212 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.464e-06/0.5161, allocations: 8 kB / 0.7185 GB, free: 204 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00516/0.5212, allocations: 1.699 MB / 0.7202 GB, free: 14.44 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008536/0.5221, allocations: 315.1 kB / 0.7205 GB, free: 14.11 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000352/0.5225, allocations: 16 kB / 0.7205 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000925/0.5234, allocations: 51.88 kB / 0.7205 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000126/0.5235, allocations: 60.36 kB / 0.7206 GB, free: 13.98 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.281e-05/0.5236, allocations: 35.98 kB / 0.7206 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001422/0.525, allocations: 0.8816 MB / 0.7215 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.81e-07/0.525, allocations: 0 / 0.7215 GB, free: 13.07 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.00218/0.5272, allocations: 0.7174 MB / 0.7222 GB, free: 12.35 MB / 0.5606 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.0009621/0.5282, allocations: 458 kB / 0.7226 GB, free: 11.9 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.002698/0.5309, allocations: 1.117 MB / 0.7237 GB, free: 10.78 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 8.636e-06/0.5309, allocations: 4 kB / 0.7237 GB, free: 10.77 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/0.5324, allocations: 0.5564 MB / 0.7243 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/0.5362, allocations: 0.7993 MB / 0.725 GB, free: 9.445 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004714/0.5409, allocations: 2.252 MB / 0.7272 GB, free: 7.121 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.5422, allocations: 1.172 MB / 0.7284 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001354/0.5435, allocations: 305.9 kB / 0.7287 GB, free: 5.613 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003279/0.5439, allocations: 107.3 kB / 0.7288 GB, free: 5.508 MB / 0.5606 GB Notification: Performance of SimCode: time 8.01e-07/0.5439, allocations: 4 kB / 0.7288 GB, free: 5.504 MB / 0.5606 GB Notification: Performance of Templates: time 0.3102/0.8541, allocations: 32.06 MB / 0.7601 GB, free: 149.8 MB / 0.5762 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 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)