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.006385/0.006385, allocations: 101.5 kB / 15.88 MB, free: 5.871 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.001343/0.001344, allocations: 192.2 kB / 16.79 MB, free: 5.816 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.376/1.376, allocations: 222.9 MB / 240.5 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9378/0.9378, allocations: 135.1 MB / 425.7 MB, free: 11.85 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001232, allocations: 68.55 kB / 0.5053 GB, free: 5.727 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1855/0.1867, allocations: 80.93 MB / 0.5843 GB, free: 4.965 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_y): time 0.3728/0.5596, allocations: 74.65 MB / 0.6572 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01687/0.5765, allocations: 12.79 MB / 0.6697 GB, free: 14.37 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003264/0.5799, allocations: 60.34 kB / 0.6698 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.5826, allocations: 0.6762 MB / 0.6704 GB, free: 13.95 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.007541/0.5902, allocations: 2.261 MB / 0.6727 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.004077/0.5943, allocations: 1.27 MB / 0.6739 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.009226/0.6035, allocations: 5.544 MB / 0.6793 GB, free: 9.66 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002692/0.6063, allocations: 1.185 MB / 0.6805 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004098/0.6104, allocations: 1.366 MB / 0.6818 GB, free: 8.539 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003115/0.6136, allocations: 1.174 MB / 0.6829 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0004804/0.6141, allocations: 72.62 kB / 0.683 GB, free: 8.039 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004266/0.6183, allocations: 1.263 MB / 0.6842 GB, free: 7.582 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0006631/0.619, allocations: 316.4 kB / 0.6845 GB, free: 7.414 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.621, allocations: 0.8032 MB / 0.6853 GB, free: 6.949 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.004911/0.6259, allocations: 2.206 MB / 0.6875 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 9.418e-06/0.626, allocations: 0 / 0.6875 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.735e-06/0.626, allocations: 0 / 0.6875 GB, free: 6.211 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 7.714e-05/0.6261, allocations: 0 / 0.6875 GB, free: 6.211 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.006111/0.6322, allocations: 2.081 MB / 0.6895 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.629e-05/0.6323, allocations: 8.219 kB / 0.6895 GB, free: 4.84 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.6333, allocations: 242.3 kB / 0.6898 GB, free: 4.742 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00305/0.6364, allocations: 1.489 MB / 0.6912 GB, free: 3.824 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.391e-05/0.6365, allocations: 76.91 kB / 0.6913 GB, free: 3.789 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.6366, allocations: 105 kB / 0.6914 GB, free: 3.754 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002364/0.639, allocations: 1.102 MB / 0.6925 GB, free: 3.262 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.843e-05/0.6391, allocations: 5.469 kB / 0.6925 GB, free: 3.258 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.731e-05/0.6392, allocations: 40.59 kB / 0.6925 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.89e-05/0.6392, allocations: 25.44 kB / 0.6925 GB, free: 3.227 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002102/0.6413, allocations: 0.8839 MB / 0.6934 GB, free: 2.918 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.007662/0.649, allocations: 4.904 MB / 0.6982 GB, free: 15.47 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00154/0.6506, allocations: 0.6168 MB / 0.6988 GB, free: 15.25 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007592/0.6513, allocations: 349.6 kB / 0.6991 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006907/0.652, allocations: 0.8236 MB / 0.6999 GB, free: 14.19 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.698e-05/0.6521, allocations: 47 kB / 0.7 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 3.146e-06/0.6521, allocations: 0 / 0.7 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.007363/0.6595, allocations: 1.681 MB / 0.7016 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.918e-05/0.6595, allocations: 57.88 kB / 0.7017 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002167/0.6617, allocations: 1.212 MB / 0.7028 GB, free: 13.07 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/0.6619, allocations: 39.05 kB / 0.7029 GB, free: 13.04 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005965/0.6625, allocations: 0.6019 MB / 0.7035 GB, free: 12.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002927/0.6628, allocations: 218.2 kB / 0.7037 GB, free: 12.38 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00028/0.6631, allocations: 156.6 kB / 0.7038 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.6632, allocations: 334.3 kB / 0.7041 GB, free: 11.99 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007171/0.664, allocations: 286.6 kB / 0.7044 GB, free: 11.89 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000909/0.6649, allocations: 497.3 kB / 0.7049 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001487/0.6664, allocations: 0.7149 MB / 0.7056 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.6664, allocations: 5.031 kB / 0.7056 GB, free: 11.19 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004916/0.6713, allocations: 1.266 MB / 0.7068 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.753e-05/0.6714, allocations: 10.12 kB / 0.7068 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.6714, allocations: 4.062 kB / 0.7069 GB, free: 10.59 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006234/0.672, allocations: 137 kB / 0.707 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006539/0.6727, allocations: 158.3 kB / 0.7071 GB, free: 10.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000889/0.6736, allocations: 0.6944 MB / 0.7078 GB, free: 9.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001556/0.6751, allocations: 161.8 kB / 0.708 GB, free: 9.766 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001012/0.6753, allocations: 35.45 kB / 0.708 GB, free: 9.754 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.6766, allocations: 0.5511 MB / 0.7085 GB, free: 9.414 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009151/0.6775, allocations: 495.2 kB / 0.709 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001427/0.6789, allocations: 0.7009 MB / 0.7097 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.038e-06/0.6789, allocations: 1.625 kB / 0.7097 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004844/0.6838, allocations: 1.265 MB / 0.7109 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/0.6838, allocations: 7.344 kB / 0.7109 GB, free: 7.953 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.6839, allocations: 8.562 kB / 0.7109 GB, free: 7.949 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005464/0.6844, allocations: 131.6 kB / 0.7111 GB, free: 7.887 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006362/0.6851, allocations: 158.1 kB / 0.7112 GB, free: 7.848 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008715/0.6859, allocations: 0.6984 MB / 0.7119 GB, free: 7.227 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001712/0.6877, allocations: 132 kB / 0.712 GB, free: 7.156 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.069e-05/0.6878, allocations: 35.36 kB / 0.7121 GB, free: 7.145 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.0003512/0.6881, allocations: 220.5 kB / 0.7123 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003672/0.6885, allocations: 136.3 kB / 0.7124 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004722/0.6932, allocations: 1.272 MB / 0.7136 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.157e-05/0.6933, allocations: 6.875 kB / 0.7137 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.187e-06/0.6933, allocations: 0 / 0.7137 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003903/0.6972, allocations: 1.102 MB / 0.7147 GB, free: 5.527 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007817/0.705, allocations: 2.604 MB / 0.7173 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.168e-05/0.7051, allocations: 2.469 kB / 0.7173 GB, free: 3.73 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004994/0.7056, allocations: 115 kB / 0.7174 GB, free: 3.699 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005272/0.7061, allocations: 134 kB / 0.7175 GB, free: 3.633 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.707e-05/0.7062, allocations: 20.28 kB / 0.7175 GB, free: 3.621 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004813/0.711, allocations: 2.341 MB / 0.7198 GB, free: 1.52 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.601e-06/0.7111, allocations: 4 kB / 0.7198 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005726/0.7168, allocations: 1.691 MB / 0.7215 GB, free: 15.75 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001122/0.718, allocations: 315.1 kB / 0.7218 GB, free: 15.43 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005673/0.7185, allocations: 20 kB / 0.7218 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001407/0.72, allocations: 79.97 kB / 0.7219 GB, free: 15.33 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001752/0.7202, allocations: 60.23 kB / 0.7219 GB, free: 15.27 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/0.7203, allocations: 35.98 kB / 0.722 GB, free: 15.23 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001856/0.7221, allocations: 0.8621 MB / 0.7228 GB, free: 14.37 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7222, allocations: 0 / 0.7228 GB, free: 14.37 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003423/0.7256, allocations: 0.7174 MB / 0.7235 GB, free: 13.65 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.001384/0.727, allocations: 452.1 kB / 0.7239 GB, free: 13.21 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003039/0.73, allocations: 1.107 MB / 0.725 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.7301, allocations: 0 / 0.725 GB, free: 12.11 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001579/0.7317, allocations: 0.5569 MB / 0.7256 GB, free: 11.54 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004861/0.7365, allocations: 0.7586 MB / 0.7263 GB, free: 10.8 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005745/0.7423, allocations: 2.79 MB / 0.729 GB, free: 7.934 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001083/0.7434, allocations: 1.169 MB / 0.7302 GB, free: 6.734 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005116/0.744, allocations: 107.4 kB / 0.7303 GB, free: 6.629 MB / 0.545 GB Notification: Performance of SimCode: time 1.523e-06/0.744, allocations: 0 / 0.7303 GB, free: 6.629 MB / 0.545 GB Notification: Performance of Templates: time 0.05025/0.7942, allocations: 30.87 MB / 0.7604 GB, free: 7.953 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)