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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008008/0.0008008, allocations: 98.72 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0007808/0.0007809, allocations: 183.9 kB / 16.92 MB, free: 6.895 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.297/1.297, allocations: 223.3 MB / 241 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9153/0.9153, allocations: 135.3 MB / 427.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003233/0.0003233, allocations: 8 kB / 0.5082 GB, free: 4.781 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1582/0.1585, allocations: 82.32 MB / 0.5886 GB, free: 2.641 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.3466/0.5052, allocations: 73.38 MB / 0.6603 GB, free: 7.465 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01669/0.5219, allocations: 12.65 MB / 0.6726 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002869/0.5248, allocations: 58 kB / 0.6727 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.00217/0.527, allocations: 0.6721 MB / 0.6733 GB, free: 13.94 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007377/0.5344, allocations: 2.276 MB / 0.6756 GB, free: 12.56 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003658/0.5381, allocations: 1.262 MB / 0.6768 GB, free: 11.82 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009173/0.5473, allocations: 5.537 MB / 0.6822 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002336/0.5496, allocations: 1.154 MB / 0.6833 GB, free: 9.164 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003544/0.5532, allocations: 1.316 MB / 0.6846 GB, free: 8.586 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002369/0.5556, allocations: 1.139 MB / 0.6857 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0002145/0.5558, allocations: 55.41 kB / 0.6858 GB, free: 8.102 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003473/0.5593, allocations: 1.238 MB / 0.687 GB, free: 7.652 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0004263/0.5597, allocations: 289.2 kB / 0.6873 GB, free: 7.504 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001158/0.5609, allocations: 0.7958 MB / 0.688 GB, free: 7.027 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.003433/0.5643, allocations: 2.154 MB / 0.6901 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.5643, allocations: 1.156 kB / 0.6901 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.703e-06/0.5643, allocations: 4 kB / 0.6901 GB, free: 6.504 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.649e-05/0.5644, allocations: 0 / 0.6901 GB, free: 6.504 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.00404/0.5684, allocations: 1.78 MB / 0.6919 GB, free: 5.336 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.556e-05/0.5685, allocations: 13.38 kB / 0.6919 GB, free: 5.332 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008644/0.5694, allocations: 238.6 kB / 0.6921 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002695/0.5721, allocations: 1.492 MB / 0.6936 GB, free: 4.324 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.752e-05/0.5722, allocations: 75.62 kB / 0.6936 GB, free: 4.293 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001647/0.5723, allocations: 108.9 kB / 0.6938 GB, free: 4.254 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002418/0.5747, allocations: 1.12 MB / 0.6948 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.991e-05/0.5748, allocations: 0.7969 kB / 0.6948 GB, free: 3.758 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.782e-05/0.5749, allocations: 41.66 kB / 0.6949 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.45e-05/0.5749, allocations: 25.12 kB / 0.6949 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002206/0.5772, allocations: 0.9271 MB / 0.6958 GB, free: 3.414 MB / 0.5137 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.007227/0.5844, allocations: 4.913 MB / 0.7006 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/0.5859, allocations: 0.6401 MB / 0.7012 GB, free: 15.74 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.5867, allocations: 374.4 kB / 0.7016 GB, free: 15.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007609/0.5875, allocations: 0.8252 MB / 0.7024 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.935e-05/0.5875, allocations: 46.53 kB / 0.7024 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.635e-06/0.5875, allocations: 0 / 0.7024 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007841/0.5954, allocations: 1.881 MB / 0.7043 GB, free: 14.11 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.821e-05/0.5955, allocations: 58.53 kB / 0.7043 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002132/0.5976, allocations: 1.213 MB / 0.7055 GB, free: 13.54 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.5977, allocations: 39.11 kB / 0.7056 GB, free: 13.5 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006069/0.5983, allocations: 0.6051 MB / 0.7062 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/0.5986, allocations: 212.4 kB / 0.7064 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.5987, allocations: 68.72 kB / 0.7064 GB, free: 12.81 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000134/0.5989, allocations: 332.9 kB / 0.7067 GB, free: 12.49 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007598/0.5996, allocations: 303.2 kB / 0.707 GB, free: 12.4 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/0.6006, allocations: 0.5029 MB / 0.7075 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001635/0.6022, allocations: 0.7487 MB / 0.7082 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.112e-06/0.6023, allocations: 5.156 kB / 0.7083 GB, free: 11.63 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005193/0.6075, allocations: 1.406 MB / 0.7096 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001466/0.6076, allocations: 205.3 kB / 0.7098 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.101e-05/0.6076, allocations: 7.469 kB / 0.7098 GB, free: 10.73 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006185/0.6083, allocations: 144.2 kB / 0.71 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006627/0.6089, allocations: 165.6 kB / 0.7101 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009223/0.6099, allocations: 0.7145 MB / 0.7108 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.6114, allocations: 162.8 kB / 0.711 GB, free: 9.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001125/0.6115, allocations: 31.2 kB / 0.711 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.147e-06/0.6116, allocations: 4.188 kB / 0.711 GB, free: 9.902 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004862/0.6164, allocations: 1.252 MB / 0.7122 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.6165, allocations: 3.062 kB / 0.7122 GB, free: 9.34 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005363/0.617, allocations: 144.6 kB / 0.7124 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007504/0.6178, allocations: 169.4 kB / 0.7125 GB, free: 9.23 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009006/0.6187, allocations: 0.7128 MB / 0.7132 GB, free: 8.609 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001613/0.6203, allocations: 160.9 kB / 0.7134 GB, free: 8.52 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001273/0.6204, allocations: 35.02 kB / 0.7134 GB, free: 8.508 MB / 0.5294 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.001002/0.6215, allocations: 410.5 kB / 0.7138 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004462/0.6219, allocations: 131.8 kB / 0.7139 GB, free: 8.117 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005369/0.6273, allocations: 1.406 MB / 0.7153 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.451e-05/0.6273, allocations: 11.36 kB / 0.7153 GB, free: 7.387 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.6273, allocations: 3.938 kB / 0.7153 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004428/0.6318, allocations: 1.23 MB / 0.7165 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008956/0.6408, allocations: 2.748 MB / 0.7192 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.73e-05/0.6408, allocations: 3.469 kB / 0.7192 GB, free: 4.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005638/0.6414, allocations: 123 kB / 0.7193 GB, free: 4.898 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005528/0.642, allocations: 139.3 kB / 0.7195 GB, free: 4.832 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.696e-05/0.6421, allocations: 17.78 kB / 0.7195 GB, free: 4.824 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005002/0.6471, allocations: 2.435 MB / 0.7219 GB, free: 2.656 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.093e-06/0.6471, allocations: 7.938 kB / 0.7219 GB, free: 2.648 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00609/0.6532, allocations: 1.855 MB / 0.7237 GB, free: 0.7148 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.6543, allocations: 327.1 kB / 0.724 GB, free: 384 kB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004695/0.6548, allocations: 16.28 kB / 0.724 GB, free: 368 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001293/0.6561, allocations: 107.1 kB / 0.7241 GB, free: 264 kB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001639/0.6562, allocations: 60.23 kB / 0.7242 GB, free: 204 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.149e-05/0.6563, allocations: 27.98 kB / 0.7242 GB, free: 176 kB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001775/0.6581, allocations: 0.8699 MB / 0.725 GB, free: 15.3 MB / 0.545 GB Notification: Performance of sort global known variables: time 3.91e-07/0.6581, allocations: 4 kB / 0.725 GB, free: 15.3 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002961/0.6611, allocations: 0.7057 MB / 0.7257 GB, free: 14.59 MB / 0.545 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.001241/0.6624, allocations: 446 kB / 0.7262 GB, free: 14.16 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002959/0.6653, allocations: 1.168 MB / 0.7273 GB, free: 13 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.184e-06/0.6654, allocations: 8.188 kB / 0.7273 GB, free: 12.99 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.0016/0.667, allocations: 0.5957 MB / 0.7279 GB, free: 12.38 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005145/0.6721, allocations: 0.795 MB / 0.7287 GB, free: 11.61 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005025/0.6772, allocations: 2.838 MB / 0.7314 GB, free: 8.691 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009563/0.6781, allocations: 1.165 MB / 0.7326 GB, free: 7.496 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004496/0.6786, allocations: 119.4 kB / 0.7327 GB, free: 7.379 MB / 0.545 GB Notification: Performance of SimCode: time 2.866e-06/0.6786, allocations: 0 / 0.7327 GB, free: 7.379 MB / 0.545 GB Notification: Performance of Templates: time 0.04396/0.7226, allocations: 30.65 MB / 0.7626 GB, free: 8.918 MB / 0.5762 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)