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.001036/0.001036, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.008017/0.008017, allocations: 170.7 kB / 16.27 MB, free: 6.652 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.445/1.445, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7837/0.7837, allocations: 132.3 MB / 423.8 MB, free: 1.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003675/0.0003676, allocations: 11.98 kB / 0.504 GB, free: 3.91 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4958/0.4962, allocations: 81.58 MB / 0.5837 GB, free: 4.297 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.08214/0.5784, allocations: 73.39 MB / 0.6553 GB, free: 7.008 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0188/0.5972, allocations: 12.65 MB / 0.6677 GB, free: 10.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002333/0.5996, allocations: 59.62 kB / 0.6678 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002441/0.6021, allocations: 0.6759 MB / 0.6684 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.007459/0.6095, allocations: 2.266 MB / 0.6706 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.003983/0.6135, allocations: 1.268 MB / 0.6719 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.007803/0.6214, allocations: 5.545 MB / 0.6773 GB, free: 0.4961 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002608/0.624, allocations: 1.155 MB / 0.6784 GB, free: 15.31 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003297/0.6273, allocations: 1.31 MB / 0.6797 GB, free: 14 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002212/0.6296, allocations: 1.135 MB / 0.6808 GB, free: 12.86 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004056/0.63, allocations: 56 kB / 0.6808 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003322/0.6333, allocations: 1.236 MB / 0.6821 GB, free: 11.56 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0005453/0.6339, allocations: 290.6 kB / 0.6823 GB, free: 11.28 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001574/0.6355, allocations: 0.8022 MB / 0.6831 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004659/0.6402, allocations: 2.714 MB / 0.6858 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.6402, allocations: 0 / 0.6858 GB, free: 7.742 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.924e-06/0.6402, allocations: 4 kB / 0.6858 GB, free: 7.738 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.584e-05/0.6403, allocations: 0 / 0.6858 GB, free: 7.738 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.004105/0.6444, allocations: 1.78 MB / 0.6875 GB, free: 5.895 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.758e-05/0.6445, allocations: 8.031 kB / 0.6875 GB, free: 5.887 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001079/0.6455, allocations: 238.9 kB / 0.6877 GB, free: 5.652 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/0.6486, allocations: 1.5 MB / 0.6892 GB, free: 4.094 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.65e-05/0.6488, allocations: 77.94 kB / 0.6893 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002039/0.649, allocations: 100 kB / 0.6894 GB, free: 3.922 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002315/0.6513, allocations: 1.116 MB / 0.6905 GB, free: 2.77 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.385e-05/0.6513, allocations: 11.92 kB / 0.6905 GB, free: 2.758 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.698e-05/0.6514, allocations: 44 kB / 0.6905 GB, free: 2.715 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.793e-05/0.6515, allocations: 24 kB / 0.6905 GB, free: 2.691 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00195/0.6534, allocations: 0.9251 MB / 0.6914 GB, free: 1.766 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.005844/0.6593, allocations: 4.907 MB / 0.6962 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.6607, allocations: 0.6401 MB / 0.6969 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007249/0.6614, allocations: 367.1 kB / 0.6972 GB, free: 11.56 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006295/0.6621, allocations: 0.8316 MB / 0.698 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.6621, allocations: 39.12 kB / 0.6981 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.808e-06/0.6621, allocations: 0 / 0.6981 GB, free: 10.5 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007528/0.6697, allocations: 1.885 MB / 0.6999 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.21e-05/0.6697, allocations: 59.97 kB / 0.7 GB, free: 8.516 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001831/0.6716, allocations: 1.21 MB / 0.7011 GB, free: 7.289 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 8.412e-05/0.6717, allocations: 45.7 kB / 0.7012 GB, free: 7.238 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005158/0.6722, allocations: 0.5987 MB / 0.7018 GB, free: 6.633 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002316/0.6724, allocations: 224.9 kB / 0.702 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.278e-05/0.6725, allocations: 57.69 kB / 0.702 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000126/0.6727, allocations: 341.8 kB / 0.7024 GB, free: 6.008 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/0.6734, allocations: 301.8 kB / 0.7027 GB, free: 5.711 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008685/0.6743, allocations: 0.5037 MB / 0.7031 GB, free: 5.133 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001494/0.6758, allocations: 0.7559 MB / 0.7039 GB, free: 4.336 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.037e-06/0.6758, allocations: 4 kB / 0.7039 GB, free: 4.332 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004927/0.6807, allocations: 1.406 MB / 0.7053 GB, free: 2.914 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001237/0.6809, allocations: 192.5 kB / 0.7054 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.797e-06/0.6809, allocations: 4 kB / 0.7054 GB, free: 2.676 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005965/0.6815, allocations: 148.7 kB / 0.7056 GB, free: 2.527 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005975/0.6821, allocations: 171.8 kB / 0.7058 GB, free: 2.359 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008597/0.683, allocations: 0.7083 MB / 0.7064 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.6841, allocations: 163.1 kB / 0.7066 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.158e-05/0.6842, allocations: 35.98 kB / 0.7066 GB, free: 1.43 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 8.055e-06/0.6842, allocations: 8 kB / 0.7066 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004686/0.6889, allocations: 1.249 MB / 0.7079 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.283e-06/0.6889, allocations: 4 kB / 0.7079 GB, free: 164 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005046/0.6894, allocations: 149 kB / 0.708 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000595/0.69, allocations: 167.8 kB / 0.7082 GB, free: 15.85 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000789/0.6908, allocations: 0.7045 MB / 0.7089 GB, free: 15.12 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001061/0.6919, allocations: 163.2 kB / 0.709 GB, free: 14.96 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.637e-05/0.692, allocations: 24 kB / 0.709 GB, free: 14.93 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.0005946/0.6926, allocations: 429.5 kB / 0.7094 GB, free: 14.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.6928, allocations: 134.3 kB / 0.7096 GB, free: 14.37 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005043/0.6979, allocations: 1.392 MB / 0.7109 GB, free: 12.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.886e-05/0.6979, allocations: 19.98 kB / 0.711 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.528e-06/0.6979, allocations: 0 / 0.711 GB, free: 12.95 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004527/0.7024, allocations: 1.232 MB / 0.7122 GB, free: 11.68 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007716/0.7102, allocations: 2.739 MB / 0.7148 GB, free: 8.832 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.214e-05/0.7102, allocations: 4 kB / 0.7148 GB, free: 8.828 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005075/0.7107, allocations: 128.2 kB / 0.715 GB, free: 8.703 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005034/0.7112, allocations: 132.7 kB / 0.7151 GB, free: 8.57 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.621e-05/0.7113, allocations: 31.86 kB / 0.7151 GB, free: 8.539 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005143/0.7165, allocations: 2.427 MB / 0.7175 GB, free: 5.961 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.7165, allocations: 7.938 kB / 0.7175 GB, free: 5.953 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005599/0.7221, allocations: 1.855 MB / 0.7193 GB, free: 4.023 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007011/0.7228, allocations: 331.1 kB / 0.7196 GB, free: 3.68 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002681/0.7231, allocations: 16 kB / 0.7196 GB, free: 3.664 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009963/0.7241, allocations: 103.6 kB / 0.7197 GB, free: 3.566 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001382/0.7242, allocations: 56.25 kB / 0.7198 GB, free: 3.512 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.102e-05/0.7243, allocations: 35.97 kB / 0.7198 GB, free: 3.477 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001416/0.7257, allocations: 0.8699 MB / 0.7207 GB, free: 2.605 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.51e-07/0.7258, allocations: 0 / 0.7207 GB, free: 2.605 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002149/0.7279, allocations: 0.7018 MB / 0.7214 GB, free: 1.902 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.0008897/0.7288, allocations: 449.4 kB / 0.7218 GB, free: 1.461 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002645/0.7315, allocations: 1.164 MB / 0.7229 GB, free: 304 kB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.7315, allocations: 0 / 0.7229 GB, free: 304 kB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001554/0.733, allocations: 0.6033 MB / 0.7235 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004181/0.7372, allocations: 0.7923 MB / 0.7243 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004296/0.7415, allocations: 2.796 MB / 0.727 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009304/0.7425, allocations: 1.177 MB / 0.7282 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001252/0.7438, allocations: 299 kB / 0.7284 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003165/0.7441, allocations: 111.4 kB / 0.7286 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of SimCode: time 2.4e-07/0.7441, allocations: 0 / 0.7286 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of Templates: time 0.05378/0.7979, allocations: 31.81 MB / 0.7596 GB, free: 11.02 MB / 0.5919 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)