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.0009175/0.0009181, allocations: 92.78 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.007807/0.007808, allocations: 168.7 kB / 16.26 MB, free: 6.68 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.828/1.828, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.011/1.011, allocations: 135.3 MB / 426.7 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 9.094 kB / 0.5076 GB, free: 4.777 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2156/0.216, allocations: 82.31 MB / 0.588 GB, free: 2.633 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.4699/0.6859, allocations: 73.38 MB / 0.6596 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01747/0.7034, allocations: 12.65 MB / 0.672 GB, free: 14.41 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003431/0.7069, allocations: 61.53 kB / 0.672 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002847/0.7098, allocations: 0.6699 MB / 0.6727 GB, free: 13.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.008136/0.7179, allocations: 2.269 MB / 0.6749 GB, free: 12.61 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.003955/0.7219, allocations: 1.264 MB / 0.6761 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009708/0.7316, allocations: 5.539 MB / 0.6816 GB, free: 9.707 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002777/0.7344, allocations: 1.149 MB / 0.6827 GB, free: 9.215 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00429/0.7388, allocations: 1.312 MB / 0.684 GB, free: 8.641 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003618/0.7424, allocations: 1.134 MB / 0.6851 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0003864/0.7428, allocations: 60.09 kB / 0.6851 GB, free: 8.156 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004956/0.7478, allocations: 1.237 MB / 0.6863 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006071/0.7484, allocations: 289.2 kB / 0.6866 GB, free: 7.559 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.00224/0.7507, allocations: 0.7952 MB / 0.6874 GB, free: 7.082 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.007016/0.7577, allocations: 2.72 MB / 0.69 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.7577, allocations: 0 / 0.69 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.375e-06/0.7577, allocations: 0 / 0.69 GB, free: 6.27 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.568e-05/0.7578, allocations: 1.375 kB / 0.69 GB, free: 6.27 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.00565/0.7635, allocations: 1.789 MB / 0.6918 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.635e-05/0.7635, allocations: 10.23 kB / 0.6918 GB, free: 5.094 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00132/0.7649, allocations: 237.7 kB / 0.692 GB, free: 5.008 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003469/0.7684, allocations: 1.487 MB / 0.6935 GB, free: 4.09 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.202e-05/0.7685, allocations: 80.03 kB / 0.6936 GB, free: 4.055 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001858/0.7687, allocations: 105.3 kB / 0.6937 GB, free: 4.02 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00263/0.7713, allocations: 1.124 MB / 0.6948 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.867e-05/0.7713, allocations: 4.969 kB / 0.6948 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001004/0.7714, allocations: 41.19 kB / 0.6948 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.337e-05/0.7715, allocations: 25.52 kB / 0.6948 GB, free: 3.484 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00238/0.7739, allocations: 0.927 MB / 0.6957 GB, free: 3.172 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.008163/0.7821, allocations: 4.91 MB / 0.7005 GB, free: 15.72 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001571/0.7837, allocations: 0.6475 MB / 0.7012 GB, free: 15.49 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008332/0.7845, allocations: 371.9 kB / 0.7015 GB, free: 15.38 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007543/0.7853, allocations: 0.8285 MB / 0.7023 GB, free: 14.43 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.219e-05/0.7853, allocations: 38.81 kB / 0.7024 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.304e-06/0.7853, allocations: 0 / 0.7024 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.008372/0.7937, allocations: 1.881 MB / 0.7042 GB, free: 13.87 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.117e-05/0.7938, allocations: 59 kB / 0.7042 GB, free: 13.8 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002557/0.7964, allocations: 1.216 MB / 0.7054 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002625/0.7966, allocations: 43.27 kB / 0.7055 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006146/0.7973, allocations: 0.5988 MB / 0.7061 GB, free: 12.78 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.7976, allocations: 217.7 kB / 0.7063 GB, free: 12.61 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/0.7977, allocations: 64.31 kB / 0.7063 GB, free: 12.57 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.7979, allocations: 333.2 kB / 0.7066 GB, free: 12.25 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008077/0.7987, allocations: 306.5 kB / 0.7069 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009475/0.7996, allocations: 0.498 MB / 0.7074 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.8013, allocations: 0.7477 MB / 0.7082 GB, free: 11.28 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.143e-06/0.8014, allocations: 5.219 kB / 0.7082 GB, free: 11.27 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005631/0.807, allocations: 1.406 MB / 0.7095 GB, free: 10.62 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/0.8072, allocations: 200.9 kB / 0.7097 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.372e-05/0.8072, allocations: 4.469 kB / 0.7097 GB, free: 10.38 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007372/0.808, allocations: 148.1 kB / 0.7099 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007814/0.8088, allocations: 169.8 kB / 0.71 GB, free: 10.27 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001001/0.8098, allocations: 0.7114 MB / 0.7107 GB, free: 9.645 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.8117, allocations: 175.1 kB / 0.7109 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001175/0.8119, allocations: 27.81 kB / 0.7109 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.091e-05/0.8119, allocations: 3.969 kB / 0.7109 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005022/0.8169, allocations: 1.26 MB / 0.7122 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.8169, allocations: 3.312 kB / 0.7122 GB, free: 8.969 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005808/0.8175, allocations: 145.1 kB / 0.7123 GB, free: 8.902 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006859/0.8182, allocations: 168.6 kB / 0.7125 GB, free: 8.859 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009432/0.8192, allocations: 0.7112 MB / 0.7132 GB, free: 8.238 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.8211, allocations: 157.3 kB / 0.7133 GB, free: 8.152 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.941e-05/0.8212, allocations: 27.38 kB / 0.7133 GB, free: 8.148 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.001086/0.8223, allocations: 422.3 kB / 0.7137 GB, free: 7.812 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003118/0.8226, allocations: 131 kB / 0.7139 GB, free: 7.746 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005176/0.8278, allocations: 1.405 MB / 0.7152 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.57e-05/0.8278, allocations: 7.062 kB / 0.7152 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.8278, allocations: 4 kB / 0.7152 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004392/0.8322, allocations: 1.231 MB / 0.7164 GB, free: 6.387 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007627/0.8399, allocations: 2.733 MB / 0.7191 GB, free: 4.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.893e-06/0.8399, allocations: 5.594 kB / 0.7191 GB, free: 4.578 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005127/0.8404, allocations: 121.5 kB / 0.7192 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005012/0.8409, allocations: 142.1 kB / 0.7194 GB, free: 4.48 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.799e-05/0.841, allocations: 17.91 kB / 0.7194 GB, free: 4.473 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00496/0.846, allocations: 2.441 MB / 0.7218 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.681e-06/0.846, allocations: 4 kB / 0.7218 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006087/0.8521, allocations: 1.855 MB / 0.7236 GB, free: 144 kB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001058/0.8532, allocations: 327.3 kB / 0.7239 GB, free: 15.8 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001733/0.8533, allocations: 16 kB / 0.7239 GB, free: 15.78 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009427/0.8543, allocations: 99.91 kB / 0.724 GB, free: 15.68 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.8544, allocations: 60.23 kB / 0.7241 GB, free: 15.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.29e-05/0.8545, allocations: 31.92 kB / 0.7241 GB, free: 15.59 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.00137/0.8559, allocations: 0.8738 MB / 0.7249 GB, free: 14.72 MB / 0.545 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8559, allocations: 0 / 0.7249 GB, free: 14.72 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002346/0.8582, allocations: 0.7095 MB / 0.7256 GB, free: 14.01 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.0009582/0.8592, allocations: 451.8 kB / 0.7261 GB, free: 13.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002892/0.8621, allocations: 1.172 MB / 0.7272 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.024e-05/0.8621, allocations: 4 kB / 0.7272 GB, free: 12.41 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001831/0.864, allocations: 0.5998 MB / 0.7278 GB, free: 11.8 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005358/0.8693, allocations: 0.7834 MB / 0.7286 GB, free: 11.04 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005372/0.8747, allocations: 2.809 MB / 0.7313 GB, free: 8.152 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.8758, allocations: 1.173 MB / 0.7325 GB, free: 6.949 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002218/0.878, allocations: 303 kB / 0.7327 GB, free: 6.648 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006017/0.8787, allocations: 111.4 kB / 0.7329 GB, free: 6.539 MB / 0.545 GB Notification: Performance of SimCode: time 1.383e-06/0.8787, allocations: 0 / 0.7329 GB, free: 6.539 MB / 0.545 GB Notification: Performance of Templates: time 0.06183/0.9405, allocations: 31.81 MB / 0.7639 GB, free: 7.078 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)