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.00105/0.00105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001193/0.001193, allocations: 195.8 kB / 16.14 MB, free: 6.699 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.471/1.471, allocations: 222.9 MB / 239.8 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.105/1.105, allocations: 135.1 MB / 425.1 MB, free: 11.94 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001204/0.001204, allocations: 56.19 kB / 0.5047 GB, free: 5.75 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2463/0.2475, allocations: 80.93 MB / 0.5837 GB, free: 4.984 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.4752/0.7228, allocations: 74.65 MB / 0.6566 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02091/0.7437, allocations: 12.79 MB / 0.6691 GB, free: 14.33 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004787/0.7486, allocations: 63.25 kB / 0.6692 GB, free: 14.3 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.003833/0.7524, allocations: 0.6764 MB / 0.6698 GB, free: 13.9 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.009709/0.7622, allocations: 2.268 MB / 0.672 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.005059/0.7673, allocations: 1.26 MB / 0.6733 GB, free: 11.78 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01236/0.7797, allocations: 5.54 MB / 0.6787 GB, free: 9.613 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004007/0.7837, allocations: 1.186 MB / 0.6798 GB, free: 9.094 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006013/0.7898, allocations: 1.352 MB / 0.6812 GB, free: 8.5 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004483/0.7943, allocations: 1.19 MB / 0.6823 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0008445/0.7952, allocations: 72.66 kB / 0.6824 GB, free: 7.984 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007449/0.8026, allocations: 1.252 MB / 0.6836 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001167/0.8038, allocations: 320.6 kB / 0.6839 GB, free: 7.367 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003742/0.8076, allocations: 0.8093 MB / 0.6847 GB, free: 6.895 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.008837/0.8165, allocations: 2.777 MB / 0.6874 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.267e-06/0.8165, allocations: 0.8906 kB / 0.6874 GB, free: 5.855 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.773e-06/0.8165, allocations: 5.375 kB / 0.6874 GB, free: 5.852 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001491/0.8167, allocations: 0 / 0.6874 GB, free: 5.852 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.008144/0.8248, allocations: 2.08 MB / 0.6895 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.454e-05/0.8249, allocations: 10.25 kB / 0.6895 GB, free: 4.48 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001205/0.8261, allocations: 226 kB / 0.6897 GB, free: 4.395 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003123/0.8292, allocations: 1.492 MB / 0.6911 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.489e-05/0.8293, allocations: 79.75 kB / 0.6912 GB, free: 3.438 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.8295, allocations: 105.7 kB / 0.6913 GB, free: 3.402 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002663/0.8322, allocations: 1.094 MB / 0.6924 GB, free: 2.918 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.243e-05/0.8322, allocations: 9.219 kB / 0.6924 GB, free: 2.91 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.963e-05/0.8323, allocations: 40.84 kB / 0.6924 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.082e-05/0.8324, allocations: 26.09 kB / 0.6925 GB, free: 2.879 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0022/0.8346, allocations: 0.8865 MB / 0.6933 GB, free: 2.566 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.007925/0.8425, allocations: 4.904 MB / 0.6981 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001557/0.8441, allocations: 0.6233 MB / 0.6987 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000774/0.8449, allocations: 347.9 kB / 0.699 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008189/0.8457, allocations: 0.8236 MB / 0.6999 GB, free: 13.83 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.8458, allocations: 39.72 kB / 0.6999 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 2.625e-06/0.8458, allocations: 3.938 kB / 0.6999 GB, free: 13.79 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007297/0.8531, allocations: 1.686 MB / 0.7015 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.351e-05/0.8531, allocations: 57.47 kB / 0.7016 GB, free: 13.21 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002329/0.8555, allocations: 1.214 MB / 0.7028 GB, free: 12.71 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001317/0.8556, allocations: 42.23 kB / 0.7028 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006955/0.8563, allocations: 0.5984 MB / 0.7034 GB, free: 12.2 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003558/0.8567, allocations: 214.8 kB / 0.7036 GB, free: 12.03 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003205/0.857, allocations: 154.6 kB / 0.7038 GB, free: 11.95 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001952/0.8572, allocations: 333.4 kB / 0.7041 GB, free: 11.64 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007842/0.858, allocations: 291.1 kB / 0.7044 GB, free: 11.54 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009461/0.859, allocations: 495.6 kB / 0.7048 GB, free: 11.22 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001543/0.8605, allocations: 0.7096 MB / 0.7055 GB, free: 10.85 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.424e-06/0.8605, allocations: 5 kB / 0.7055 GB, free: 10.84 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004933/0.8655, allocations: 1.267 MB / 0.7068 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.808e-05/0.8655, allocations: 9.812 kB / 0.7068 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.206e-05/0.8655, allocations: 3.25 kB / 0.7068 GB, free: 10.22 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006405/0.8662, allocations: 137.8 kB / 0.7069 GB, free: 10.15 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006509/0.8669, allocations: 157.7 kB / 0.7071 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009584/0.8678, allocations: 0.6952 MB / 0.7077 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001731/0.8696, allocations: 153.5 kB / 0.7079 GB, free: 9.406 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001101/0.8697, allocations: 36.64 kB / 0.7079 GB, free: 9.395 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001422/0.8711, allocations: 0.5538 MB / 0.7085 GB, free: 9.051 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009548/0.8721, allocations: 496.7 kB / 0.7089 GB, free: 8.668 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001357/0.8735, allocations: 0.6992 MB / 0.7096 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.376e-06/0.8735, allocations: 4.625 kB / 0.7096 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004553/0.878, allocations: 1.266 MB / 0.7109 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.734e-05/0.8781, allocations: 6.875 kB / 0.7109 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.8781, allocations: 4.125 kB / 0.7109 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005287/0.8786, allocations: 144.6 kB / 0.711 GB, free: 7.508 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005913/0.8792, allocations: 158.7 kB / 0.7112 GB, free: 7.469 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007872/0.88, allocations: 0.6974 MB / 0.7118 GB, free: 6.848 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001433/0.8814, allocations: 134.2 kB / 0.712 GB, free: 6.777 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.791e-05/0.8815, allocations: 32.42 kB / 0.712 GB, free: 6.77 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.000361/0.8819, allocations: 234.1 kB / 0.7122 GB, free: 6.547 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002732/0.8822, allocations: 134.3 kB / 0.7123 GB, free: 6.477 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004608/0.8868, allocations: 1.266 MB / 0.7136 GB, free: 5.777 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.116e-05/0.8868, allocations: 8.953 kB / 0.7136 GB, free: 5.773 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.417e-06/0.8869, allocations: 4 kB / 0.7136 GB, free: 5.77 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00392/0.8908, allocations: 1.097 MB / 0.7147 GB, free: 5.148 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006922/0.8977, allocations: 2.601 MB / 0.7172 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.8977, allocations: 2.406 kB / 0.7172 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000483/0.8982, allocations: 113.9 kB / 0.7173 GB, free: 3.324 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000476/0.8987, allocations: 129 kB / 0.7174 GB, free: 3.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.046e-05/0.8988, allocations: 24.31 kB / 0.7175 GB, free: 3.246 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004531/0.9033, allocations: 2.337 MB / 0.7197 GB, free: 0.9375 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.9033, allocations: 7.938 kB / 0.7198 GB, free: 0.9297 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00529/0.9086, allocations: 1.695 MB / 0.7214 GB, free: 15.17 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001085/0.9097, allocations: 311.1 kB / 0.7217 GB, free: 14.84 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002324/0.91, allocations: 16 kB / 0.7217 GB, free: 14.83 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009556/0.9109, allocations: 75.97 kB / 0.7218 GB, free: 14.75 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002709/0.9112, allocations: 64.23 kB / 0.7219 GB, free: 14.69 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.008e-05/0.9113, allocations: 39.98 kB / 0.7219 GB, free: 14.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001565/0.9129, allocations: 0.8621 MB / 0.7227 GB, free: 13.79 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9129, allocations: 0 / 0.7227 GB, free: 13.79 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.002847/0.9157, allocations: 0.7135 MB / 0.7234 GB, free: 13.07 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.001338/0.9171, allocations: 444.4 kB / 0.7239 GB, free: 12.64 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002769/0.9199, allocations: 1.111 MB / 0.7249 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.9199, allocations: 0 / 0.7249 GB, free: 11.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001535/0.9214, allocations: 0.5608 MB / 0.7255 GB, free: 10.96 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004395/0.9258, allocations: 0.7596 MB / 0.7262 GB, free: 10.22 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007266/0.9331, allocations: 2.751 MB / 0.7289 GB, free: 7.398 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001342/0.9345, allocations: 1.169 MB / 0.7301 GB, free: 6.199 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002402/0.9369, allocations: 307 kB / 0.7304 GB, free: 5.895 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004119/0.9373, allocations: 107.4 kB / 0.7305 GB, free: 5.789 MB / 0.545 GB Notification: Performance of SimCode: time 1.663e-06/0.9374, allocations: 0 / 0.7305 GB, free: 5.789 MB / 0.545 GB Notification: Performance of Templates: time 0.09444/1.032, allocations: 30.38 MB / 0.7601 GB, free: 7.777 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)