Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y") translateModel(IDEAS.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001573, allocations: 182.6 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.7246/0.7246, allocations: 133.3 MB / 150.1 MB, free: 11.15 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.378/1.378, allocations: 222.9 MB / 404.7 MB, free: 6.074 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.001113/0.001113, allocations: 99.52 kB / 485.9 MB, free: 7.234 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001158/0.001158, allocations: 55.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1258/0.127, allocations: 80.42 MB / 0.6421 GB, free: 5.445 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.3373/0.4643, allocations: 74.66 MB / 0.715 GB, free: 22.7 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01662/0.481, allocations: 12.79 MB / 0.7275 GB, free: 17.89 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003872/0.4849, allocations: 61.22 kB / 0.7276 GB, free: 17.86 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002606/0.4876, allocations: 0.678 MB / 0.7283 GB, free: 17.46 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007521/0.4951, allocations: 2.268 MB / 0.7305 GB, free: 16.09 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003733/0.4989, allocations: 1.261 MB / 0.7317 GB, free: 15.34 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.006071/0.505, allocations: 5.559 MB / 0.7371 GB, free: 13.19 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00212/0.5071, allocations: 1.199 MB / 0.7383 GB, free: 12.66 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003096/0.5102, allocations: 1.365 MB / 0.7396 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002148/0.5124, allocations: 1.186 MB / 0.7408 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004312/0.5128, allocations: 73.19 kB / 0.7409 GB, free: 11.31 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003808/0.5166, allocations: 1.258 MB / 0.7421 GB, free: 10.62 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000949/0.5176, allocations: 316.4 kB / 0.7424 GB, free: 10.38 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001913/0.5195, allocations: 0.8075 MB / 0.7432 GB, free: 9.867 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003399/0.523, allocations: 2.781 MB / 0.7459 GB, free: 7.984 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.523, allocations: 0 / 0.7459 GB, free: 7.984 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.523, allocations: 0 / 0.7459 GB, free: 7.984 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.701e-05/0.523, allocations: 7.938 kB / 0.7459 GB, free: 7.977 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003111/0.5261, allocations: 2.078 MB / 0.7479 GB, free: 6.395 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.5262, allocations: 10.06 kB / 0.7479 GB, free: 6.395 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007302/0.5269, allocations: 221 kB / 0.7481 GB, free: 6.293 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001977/0.5289, allocations: 1.492 MB / 0.7496 GB, free: 5.102 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.744e-05/0.529, allocations: 76.5 kB / 0.7497 GB, free: 5.066 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001272/0.5291, allocations: 103.7 kB / 0.7498 GB, free: 5.031 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001763/0.5309, allocations: 1.101 MB / 0.7509 GB, free: 4.352 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.732e-05/0.5309, allocations: 2.906 kB / 0.7509 GB, free: 4.352 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.31e-05/0.531, allocations: 48.25 kB / 0.7509 GB, free: 4.312 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.731e-05/0.531, allocations: 25.53 kB / 0.7509 GB, free: 4.312 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001776/0.5328, allocations: 0.8857 MB / 0.7518 GB, free: 3.863 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.004978/0.5378, allocations: 4.901 MB / 0.7566 GB, free: 15.64 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001334/0.5392, allocations: 0.6183 MB / 0.7572 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007077/0.5399, allocations: 348.5 kB / 0.7575 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000602/0.5405, allocations: 0.8316 MB / 0.7583 GB, free: 14 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.909e-05/0.5405, allocations: 39.12 kB / 0.7584 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 2.354e-06/0.5405, allocations: 0 / 0.7584 GB, free: 13.96 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.007464/0.548, allocations: 1.681 MB / 0.76 GB, free: 12.25 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.032e-05/0.5481, allocations: 59.97 kB / 0.7601 GB, free: 12.17 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001767/0.5499, allocations: 1.202 MB / 0.7612 GB, free: 10.95 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 9.807e-05/0.55, allocations: 49.7 kB / 0.7613 GB, free: 10.9 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005013/0.5505, allocations: 0.6065 MB / 0.7619 GB, free: 10.29 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002071/0.5507, allocations: 216.9 kB / 0.7621 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002429/0.5509, allocations: 154.5 kB / 0.7622 GB, free: 9.91 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.5511, allocations: 337.9 kB / 0.7626 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006956/0.5518, allocations: 288.7 kB / 0.7628 GB, free: 9.289 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008734/0.5527, allocations: 495.8 kB / 0.7633 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.5542, allocations: 0.709 MB / 0.764 GB, free: 7.973 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.584e-06/0.5542, allocations: 3.938 kB / 0.764 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004993/0.5592, allocations: 1.273 MB / 0.7652 GB, free: 6.684 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.221e-05/0.5593, allocations: 9.719 kB / 0.7652 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.5593, allocations: 0 / 0.7652 GB, free: 6.676 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.5599, allocations: 141 kB / 0.7654 GB, free: 6.535 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006068/0.5605, allocations: 159.8 kB / 0.7655 GB, free: 6.379 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008503/0.5613, allocations: 0.6927 MB / 0.7662 GB, free: 5.66 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001188/0.5625, allocations: 155 kB / 0.7664 GB, free: 5.508 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.931e-05/0.5626, allocations: 35.98 kB / 0.7664 GB, free: 5.473 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001096/0.5637, allocations: 0.5578 MB / 0.7669 GB, free: 4.914 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008562/0.5646, allocations: 489.8 kB / 0.7674 GB, free: 4.363 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001413/0.566, allocations: 0.6973 MB / 0.7681 GB, free: 3.613 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.997e-06/0.566, allocations: 4 kB / 0.7681 GB, free: 3.609 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004763/0.5708, allocations: 1.265 MB / 0.7693 GB, free: 2.332 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.5708, allocations: 11.94 kB / 0.7693 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5708, allocations: 0 / 0.7693 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000498/0.5713, allocations: 141 kB / 0.7695 GB, free: 2.18 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005833/0.5719, allocations: 155.7 kB / 0.7696 GB, free: 2.027 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008019/0.5728, allocations: 0.7004 MB / 0.7703 GB, free: 1.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.5739, allocations: 135.5 kB / 0.7704 GB, free: 1.168 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.064e-05/0.574, allocations: 31.98 kB / 0.7705 GB, free: 1.137 MB / 0.4948 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.000224/0.5742, allocations: 228.1 kB / 0.7707 GB, free: 0.9062 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002226/0.5744, allocations: 142.2 kB / 0.7708 GB, free: 0.7656 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0048/0.5792, allocations: 1.256 MB / 0.772 GB, free: 15.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5792, allocations: 15.88 kB / 0.7721 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.5793, allocations: 0 / 0.7721 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004226/0.5835, allocations: 1.096 MB / 0.7731 GB, free: 14.35 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006989/0.5905, allocations: 2.61 MB / 0.7757 GB, free: 11.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.03e-05/0.5905, allocations: 8.094 kB / 0.7757 GB, free: 11.61 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004973/0.591, allocations: 115.8 kB / 0.7758 GB, free: 11.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005102/0.5916, allocations: 128.7 kB / 0.7759 GB, free: 11.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.479e-05/0.5916, allocations: 19.94 kB / 0.7759 GB, free: 11.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004923/0.5966, allocations: 2.33 MB / 0.7782 GB, free: 8.871 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.281e-06/0.5966, allocations: 7.938 kB / 0.7782 GB, free: 8.863 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03574/0.6323, allocations: 10.64 MB / 0.7886 GB, free: 13.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008886/0.6333, allocations: 307.2 kB / 0.7889 GB, free: 13.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000367/0.6337, allocations: 16 kB / 0.7889 GB, free: 13.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0012/0.6349, allocations: 91.92 kB / 0.789 GB, free: 13.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001778/0.6351, allocations: 64.23 kB / 0.7891 GB, free: 13.37 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.944e-05/0.6352, allocations: 31.98 kB / 0.7891 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001689/0.6369, allocations: 0.866 MB / 0.7899 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.234e-06/0.6369, allocations: 0 / 0.7899 GB, free: 12.47 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004332/0.6413, allocations: 1.088 MB / 0.791 GB, free: 11.38 MB / 0.5261 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.001141/0.6424, allocations: 452.3 kB / 0.7914 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.002901/0.6453, allocations: 1.11 MB / 0.7925 GB, free: 9.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/0.6453, allocations: 3.938 kB / 0.7925 GB, free: 9.836 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.00162/0.647, allocations: 0.5565 MB / 0.7931 GB, free: 9.27 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/0.6513, allocations: 0.7597 MB / 0.7938 GB, free: 8.527 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007032/0.6583, allocations: 3.494 MB / 0.7972 GB, free: 4.926 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001024/0.6594, allocations: 1.195 MB / 0.7984 GB, free: 3.699 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.001486/0.6609, allocations: 315 kB / 0.7987 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003599/0.6612, allocations: 107.4 kB / 0.7988 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of SimCode: time 8.51e-07/0.6613, allocations: 0 / 0.7988 GB, free: 3.281 MB / 0.5261 GB Notification: Performance of Templates: time 0.05135/0.7126, allocations: 33.31 MB / 0.8313 GB, free: 2.281 MB / 0.5573 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.sim & ./IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)