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.001421/0.001421, allocations: 108 kB / 15.6 MB, free: 132 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.001564/0.001564, allocations: 194 kB / 16.53 MB, free: 6.391 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.514/1.514, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.077/1.077, allocations: 135.1 MB / 425.5 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 64.19 kB / 0.5053 GB, free: 5.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1846/0.1858, allocations: 80.93 MB / 0.5844 GB, free: 4.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.4535/0.6394, allocations: 75.11 MB / 0.6577 GB, free: 7.176 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01789/0.6573, allocations: 12.73 MB / 0.6701 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003451/0.6608, allocations: 66.19 kB / 0.6702 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002909/0.6638, allocations: 0.8291 MB / 0.671 GB, free: 13.47 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009063/0.6729, allocations: 2.462 MB / 0.6734 GB, free: 11.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005007/0.6779, allocations: 1.384 MB / 0.6748 GB, free: 11.2 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.008664/0.6866, allocations: 4.374 MB / 0.679 GB, free: 9.012 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003868/0.6905, allocations: 1.433 MB / 0.6804 GB, free: 8.316 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006098/0.6966, allocations: 1.616 MB / 0.682 GB, free: 7.52 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003789/0.7004, allocations: 1.191 MB / 0.6832 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.000927/0.7014, allocations: 163.3 kB / 0.6833 GB, free: 6.961 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005667/0.7071, allocations: 1.405 MB / 0.6847 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001313/0.7084, allocations: 401.8 kB / 0.6851 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003057/0.7115, allocations: 0.9021 MB / 0.686 GB, free: 5.621 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.009228/0.7207, allocations: 2.843 MB / 0.6888 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.852e-06/0.7208, allocations: 1.812 kB / 0.6888 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.826e-06/0.7208, allocations: 0 / 0.6888 GB, free: 4.535 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001254/0.7209, allocations: 0 / 0.6888 GB, free: 4.535 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.008033/0.729, allocations: 2.084 MB / 0.6908 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.063e-05/0.729, allocations: 9.938 kB / 0.6908 GB, free: 3.164 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001292/0.7303, allocations: 230.6 kB / 0.691 GB, free: 3.078 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003498/0.7338, allocations: 1.451 MB / 0.6924 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.294e-05/0.7339, allocations: 79.77 kB / 0.6925 GB, free: 2.141 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001837/0.7341, allocations: 105 kB / 0.6926 GB, free: 2.105 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.7365, allocations: 1.095 MB / 0.6937 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.765e-05/0.7366, allocations: 1.156 kB / 0.6937 GB, free: 1.617 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.753e-05/0.7367, allocations: 44.91 kB / 0.6937 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.202e-05/0.7367, allocations: 25.3 kB / 0.6938 GB, free: 1.582 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002067/0.7388, allocations: 0.8872 MB / 0.6946 GB, free: 1.273 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.008754/0.7475, allocations: 4.953 MB / 0.6995 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001469/0.749, allocations: 0.6174 MB / 0.7001 GB, free: 13.59 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008338/0.7499, allocations: 351.3 kB / 0.7004 GB, free: 13.47 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008494/0.7508, allocations: 0.8285 MB / 0.7012 GB, free: 12.52 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.439e-05/0.7508, allocations: 38.81 kB / 0.7012 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.665e-06/0.7508, allocations: 0 / 0.7012 GB, free: 12.48 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007639/0.7585, allocations: 1.675 MB / 0.7029 GB, free: 11.98 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.614e-05/0.7585, allocations: 59.41 kB / 0.7029 GB, free: 11.92 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/0.7607, allocations: 1.23 MB / 0.7041 GB, free: 11.41 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.7609, allocations: 43.33 kB / 0.7042 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005965/0.7615, allocations: 0.6068 MB / 0.7048 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003337/0.7619, allocations: 213.4 kB / 0.705 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003026/0.7622, allocations: 153.1 kB / 0.7051 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001467/0.7623, allocations: 332.7 kB / 0.7054 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007696/0.7631, allocations: 291.5 kB / 0.7057 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009276/0.764, allocations: 489.5 kB / 0.7062 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001624/0.7657, allocations: 0.7099 MB / 0.7069 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.7657, allocations: 5.125 kB / 0.7069 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.00523/0.7709, allocations: 1.268 MB / 0.7081 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.725e-05/0.771, allocations: 7.188 kB / 0.7081 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.771, allocations: 3.531 kB / 0.7081 GB, free: 9.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/0.7717, allocations: 136.7 kB / 0.7083 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006845/0.7724, allocations: 167.5 kB / 0.7084 GB, free: 8.934 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001036/0.7734, allocations: 0.6903 MB / 0.7091 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001544/0.775, allocations: 120 kB / 0.7092 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/0.7751, allocations: 34.48 kB / 0.7092 GB, free: 8.234 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001484/0.7766, allocations: 0.5594 MB / 0.7098 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001052/0.7777, allocations: 491.3 kB / 0.7103 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001763/0.7795, allocations: 0.7019 MB / 0.7109 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.089e-05/0.7795, allocations: 9.031 kB / 0.7109 GB, free: 7.055 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.005616/0.7851, allocations: 1.267 MB / 0.7122 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.42e-05/0.7852, allocations: 5.438 kB / 0.7122 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.321e-05/0.7852, allocations: 3.812 kB / 0.7122 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006443/0.7858, allocations: 141 kB / 0.7123 GB, free: 6.348 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/0.7866, allocations: 158.7 kB / 0.7125 GB, free: 6.309 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009097/0.7875, allocations: 0.6906 MB / 0.7132 GB, free: 5.695 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.7892, allocations: 103.4 kB / 0.7133 GB, free: 5.633 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001524/0.7893, allocations: 31.36 kB / 0.7133 GB, free: 5.625 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.0004021/0.7897, allocations: 228.4 kB / 0.7135 GB, free: 5.406 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006675/0.7904, allocations: 135 kB / 0.7136 GB, free: 5.336 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00534/0.7958, allocations: 1.264 MB / 0.7149 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.378e-05/0.7958, allocations: 6.875 kB / 0.7149 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/0.7958, allocations: 0 / 0.7149 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00445/0.8003, allocations: 1.1 MB / 0.7159 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008422/0.8087, allocations: 2.621 MB / 0.7185 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.11e-05/0.8088, allocations: 2.281 kB / 0.7185 GB, free: 2.203 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005625/0.8093, allocations: 113.2 kB / 0.7186 GB, free: 2.176 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005844/0.8099, allocations: 132.2 kB / 0.7187 GB, free: 2.109 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.178e-05/0.81, allocations: 25.48 kB / 0.7188 GB, free: 2.094 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005337/0.8154, allocations: 2.571 MB / 0.7213 GB, free: 15.83 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.055e-05/0.8154, allocations: 15.88 kB / 0.7213 GB, free: 15.81 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005975/0.8214, allocations: 1.695 MB / 0.7229 GB, free: 14.05 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009677/0.8224, allocations: 307.2 kB / 0.7232 GB, free: 13.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004865/0.8229, allocations: 19.98 kB / 0.7233 GB, free: 13.71 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001141/0.824, allocations: 52 kB / 0.7233 GB, free: 13.66 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001555/0.8242, allocations: 60.25 kB / 0.7234 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.749e-05/0.8243, allocations: 35.97 kB / 0.7234 GB, free: 13.57 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001558/0.8259, allocations: 0.8855 MB / 0.7243 GB, free: 12.68 MB / 0.545 GB Notification: Performance of sort global known variables: time 2e-07/0.8259, allocations: 3.938 kB / 0.7243 GB, free: 12.68 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002747/0.8286, allocations: 0.7174 MB / 0.725 GB, free: 11.96 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.001122/0.8298, allocations: 448.7 kB / 0.7254 GB, free: 11.52 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002985/0.8328, allocations: 1.165 MB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/0.8328, allocations: 4 kB / 0.7265 GB, free: 10.35 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00159/0.8344, allocations: 0.5609 MB / 0.7271 GB, free: 9.777 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004237/0.8386, allocations: 0.7979 MB / 0.7279 GB, free: 9.02 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004406/0.8431, allocations: 2.295 MB / 0.7301 GB, free: 6.652 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001218/0.8443, allocations: 1.176 MB / 0.7313 GB, free: 5.445 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.001506/0.8458, allocations: 311 kB / 0.7316 GB, free: 5.137 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003152/0.8461, allocations: 111.4 kB / 0.7317 GB, free: 5.027 MB / 0.545 GB Notification: Performance of SimCode: time 1.052e-06/0.8462, allocations: 0 / 0.7317 GB, free: 5.027 MB / 0.545 GB Notification: Performance of Templates: time 0.05772/0.9039, allocations: 32.1 MB / 0.763 GB, free: 5.301 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)