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.0009623/0.0009624, allocations: 92.16 kB / 15.06 MB, free: 1.098 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.00121/0.00121, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 223.3 MB / 240 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.019/1.019, allocations: 135.3 MB / 426.4 MB, free: 14.19 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003404/0.0003407, allocations: 11.94 kB / 0.507 GB, free: 5.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1947/0.1951, allocations: 82.3 MB / 0.5874 GB, free: 3.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.5589/0.754, allocations: 69.36 MB / 0.6551 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01908/0.7732, allocations: 11.93 MB / 0.6667 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003548/0.7768, allocations: 57.31 kB / 0.6668 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002906/0.7797, allocations: 0.5665 MB / 0.6674 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007283/0.787, allocations: 1.893 MB / 0.6692 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003553/0.7906, allocations: 0.962 MB / 0.6701 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.009282/0.7999, allocations: 4.789 MB / 0.6748 GB, free: 14.64 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002919/0.8029, allocations: 1.023 MB / 0.6758 GB, free: 14.25 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004284/0.8072, allocations: 1.267 MB / 0.6771 GB, free: 13.73 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003416/0.8106, allocations: 1.061 MB / 0.6781 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003966/0.811, allocations: 56.25 kB / 0.6781 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004019/0.8151, allocations: 0.9252 MB / 0.679 GB, free: 12.99 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005567/0.8156, allocations: 270.5 kB / 0.6793 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001135/0.8168, allocations: 355.7 kB / 0.6796 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004714/0.8215, allocations: 2.076 MB / 0.6817 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.006e-05/0.8215, allocations: 1.031 kB / 0.6817 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.8215, allocations: 3.938 kB / 0.6817 GB, free: 12.14 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.661e-05/0.8216, allocations: 0 / 0.6817 GB, free: 12.14 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.005186/0.8268, allocations: 1.798 MB / 0.6834 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.8269, allocations: 10.5 kB / 0.6834 GB, free: 10.96 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009866/0.8279, allocations: 236.3 kB / 0.6837 GB, free: 10.88 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003171/0.831, allocations: 1.444 MB / 0.6851 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.317e-05/0.8311, allocations: 72.66 kB / 0.6851 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001819/0.8313, allocations: 104.6 kB / 0.6852 GB, free: 9.941 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002521/0.8339, allocations: 1.113 MB / 0.6863 GB, free: 9.445 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.8339, allocations: 5.328 kB / 0.6863 GB, free: 9.441 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001133/0.834, allocations: 45.56 kB / 0.6864 GB, free: 9.406 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.543e-05/0.8341, allocations: 29.86 kB / 0.6864 GB, free: 9.402 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002345/0.8364, allocations: 0.92 MB / 0.6873 GB, free: 9.09 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.009242/0.8457, allocations: 4.906 MB / 0.6921 GB, free: 5.648 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001497/0.8472, allocations: 0.6343 MB / 0.6927 GB, free: 5.43 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008347/0.8481, allocations: 378.8 kB / 0.6931 GB, free: 5.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009704/0.849, allocations: 0.8252 MB / 0.6939 GB, free: 4.352 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.099e-05/0.8491, allocations: 38.19 kB / 0.6939 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 4.829e-06/0.8491, allocations: 1.656 kB / 0.6939 GB, free: 4.309 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.007337/0.8565, allocations: 1.873 MB / 0.6958 GB, free: 3.793 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.974e-05/0.8565, allocations: 62.16 kB / 0.6958 GB, free: 3.727 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002512/0.8591, allocations: 1.197 MB / 0.697 GB, free: 3.23 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001652/0.8592, allocations: 39.17 kB / 0.697 GB, free: 3.191 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005966/0.8599, allocations: 0.6101 MB / 0.6976 GB, free: 2.707 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002717/0.8601, allocations: 212 kB / 0.6978 GB, free: 2.539 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.8602, allocations: 14.59 kB / 0.6978 GB, free: 2.527 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001481/0.8603, allocations: 338.2 kB / 0.6982 GB, free: 2.207 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006845/0.861, allocations: 298 kB / 0.6984 GB, free: 2.117 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008436/0.8619, allocations: 0.4995 MB / 0.6989 GB, free: 1.793 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007753/0.8627, allocations: 358.1 kB / 0.6993 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.481e-06/0.8627, allocations: 1.031 kB / 0.6993 GB, free: 1.66 MB / 0.5137 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004511/0.8672, allocations: 1.389 MB / 0.7006 GB, free: 1.25 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002066/0.8674, allocations: 210.4 kB / 0.7008 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/0.8674, allocations: 3.156 kB / 0.7008 GB, free: 1.008 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006081/0.8681, allocations: 144.1 kB / 0.701 GB, free: 0.9453 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006404/0.8687, allocations: 162.6 kB / 0.7011 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008739/0.8696, allocations: 0.7118 MB / 0.7018 GB, free: 292 kB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001532/0.8711, allocations: 165.8 kB / 0.702 GB, free: 200 kB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.438e-05/0.8712, allocations: 36.14 kB / 0.702 GB, free: 188 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 9.778e-06/0.8712, allocations: 3.406 kB / 0.702 GB, free: 188 kB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004067/0.8753, allocations: 1.25 MB / 0.7032 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.8753, allocations: 2.938 kB / 0.7032 GB, free: 15.61 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004943/0.8758, allocations: 149.4 kB / 0.7034 GB, free: 15.54 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006136/0.8765, allocations: 164.6 kB / 0.7035 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007909/0.8773, allocations: 0.709 MB / 0.7042 GB, free: 14.88 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.879, allocations: 153.4 kB / 0.7044 GB, free: 14.8 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.914e-05/0.8791, allocations: 40.05 kB / 0.7044 GB, free: 14.79 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of prepare postOptimizeDAE: time 0.001291/0.8804, allocations: 417.9 kB / 0.7048 GB, free: 14.45 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00031/0.8807, allocations: 131.8 kB / 0.7049 GB, free: 14.39 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004517/0.8852, allocations: 1.397 MB / 0.7063 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.359e-05/0.8853, allocations: 13.84 kB / 0.7063 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.845e-06/0.8853, allocations: 1.25 kB / 0.7063 GB, free: 13.66 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003763/0.889, allocations: 1.227 MB / 0.7075 GB, free: 13.02 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00671/0.8958, allocations: 2.735 MB / 0.7102 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.25e-05/0.8958, allocations: 7.797 kB / 0.7102 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004995/0.8963, allocations: 126.7 kB / 0.7103 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004773/0.8968, allocations: 132.3 kB / 0.7104 GB, free: 11.11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.181e-05/0.8968, allocations: 20.36 kB / 0.7105 GB, free: 11.1 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004365/0.9012, allocations: 2.438 MB / 0.7128 GB, free: 9.098 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.9012, allocations: 7.125 kB / 0.7128 GB, free: 9.094 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005091/0.9063, allocations: 1.842 MB / 0.7146 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001043/0.9074, allocations: 334.6 kB / 0.715 GB, free: 7.773 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001662/0.9076, allocations: 22.64 kB / 0.715 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008178/0.9084, allocations: 98.11 kB / 0.7151 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.9085, allocations: 52.91 kB / 0.7151 GB, free: 7.684 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.097e-05/0.9086, allocations: 37.94 kB / 0.7152 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001327/0.9099, allocations: 0.8592 MB / 0.716 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.31e-07/0.9099, allocations: 0 / 0.716 GB, free: 7.18 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002229/0.9122, allocations: 0.7068 MB / 0.7167 GB, free: 7.035 MB / 0.5294 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009279/0.9131, allocations: 428.2 kB / 0.7171 GB, free: 6.703 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.002835/0.916, allocations: 1.166 MB / 0.7182 GB, free: 5.547 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.128e-06/0.916, allocations: 4 kB / 0.7182 GB, free: 5.543 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001518/0.9175, allocations: 0.596 MB / 0.7188 GB, free: 4.934 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004138/0.9217, allocations: 0.7574 MB / 0.7196 GB, free: 4.195 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004637/0.9263, allocations: 2.758 MB / 0.7223 GB, free: 1.363 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007341/0.9271, allocations: 1.172 MB / 0.7234 GB, free: 164 kB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001484/0.9286, allocations: 303 kB / 0.7237 GB, free: 15.86 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.9288, allocations: 107.3 kB / 0.7238 GB, free: 15.75 MB / 0.545 GB Notification: Performance of SimCode: time 1.132e-06/0.9288, allocations: 0 / 0.7238 GB, free: 15.75 MB / 0.545 GB Notification: Performance of Templates: time 0.05151/0.9804, allocations: 29.28 MB / 0.7524 GB, free: 2.82 MB / 0.5606 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)