Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001228/0.001227, allocations: 108.6 kB / 15.98 MB, free: 5.906 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.001272/0.001272, allocations: 188.4 kB / 16.9 MB, free: 5.758 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.425/1.425, allocations: 222.9 MB / 240.6 MB, free: 13.67 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7935/0.7935, allocations: 122.9 MB / 413.6 MB, free: 4 kB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001251/0.001251, allocations: 63.91 kB / 0.4906 GB, free: 7.754 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4526/0.4539, allocations: 77.92 MB / 0.5667 GB, free: 32.06 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.07332/0.5272, allocations: 74.48 MB / 0.6394 GB, free: 308 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.02002/0.5473, allocations: 12.67 MB / 0.6518 GB, free: 3.602 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003562/0.5509, allocations: 63.56 kB / 0.6519 GB, free: 3.539 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003169/0.5541, allocations: 0.719 MB / 0.6526 GB, free: 2.816 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007884/0.5621, allocations: 2.285 MB / 0.6548 GB, free: 0.5234 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003901/0.566, allocations: 1.288 MB / 0.6561 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006723/0.5727, allocations: 4.414 MB / 0.6604 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002418/0.5752, allocations: 1.431 MB / 0.6618 GB, free: 9.359 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004812/0.58, allocations: 1.632 MB / 0.6634 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002352/0.5824, allocations: 1.237 MB / 0.6646 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003468/0.5827, allocations: 164 kB / 0.6647 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003375/0.5861, allocations: 1.419 MB / 0.6661 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0006253/0.5868, allocations: 402.6 kB / 0.6665 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.001394/0.5882, allocations: 0.9061 MB / 0.6674 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.005065/0.5933, allocations: 2.844 MB / 0.6702 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.523e-06/0.5933, allocations: 0 / 0.6702 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.485e-06/0.5933, allocations: 0 / 0.6702 GB, free: 0.75 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 3.025e-05/0.5933, allocations: 0 / 0.6702 GB, free: 0.75 MB / 0.4981 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.004112/0.5974, allocations: 2.083 MB / 0.6722 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.94e-05/0.5975, allocations: 16.62 kB / 0.6722 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008499/0.5984, allocations: 226.8 kB / 0.6724 GB, free: 14.36 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00247/0.6008, allocations: 1.485 MB / 0.6739 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.953e-05/0.6009, allocations: 78 kB / 0.674 GB, free: 12.75 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001448/0.6011, allocations: 100 kB / 0.6741 GB, free: 12.65 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002/0.6031, allocations: 1.1 MB / 0.6751 GB, free: 11.51 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.6031, allocations: 7.844 kB / 0.6751 GB, free: 11.5 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.588e-05/0.6032, allocations: 40 kB / 0.6752 GB, free: 11.46 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.015e-05/0.6033, allocations: 28 kB / 0.6752 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001784/0.6051, allocations: 0.8822 MB / 0.6761 GB, free: 10.56 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.006318/0.6114, allocations: 4.913 MB / 0.6809 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00142/0.6128, allocations: 0.6236 MB / 0.6815 GB, free: 4.727 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006646/0.6135, allocations: 346.3 kB / 0.6818 GB, free: 4.387 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007178/0.6142, allocations: 0.8238 MB / 0.6826 GB, free: 3.379 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.071e-05/0.6143, allocations: 43.12 kB / 0.6826 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=61): time 2.776e-06/0.6143, allocations: 0 / 0.6826 GB, free: 3.328 MB / 0.5137 GB Notification: Performance of matching and sorting (n=61): time 0.00718/0.6215, allocations: 1.674 MB / 0.6843 GB, free: 1.625 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.976e-05/0.6215, allocations: 59.97 kB / 0.6843 GB, free: 1.551 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001662/0.6232, allocations: 1.214 MB / 0.6855 GB, free: 328 kB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 8.585e-05/0.6233, allocations: 37.7 kB / 0.6856 GB, free: 284 kB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005321/0.6238, allocations: 0.6064 MB / 0.6862 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001951/0.624, allocations: 216.9 kB / 0.6864 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002303/0.6243, allocations: 150.6 kB / 0.6865 GB, free: 15.29 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.6244, allocations: 334 kB / 0.6868 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006408/0.6251, allocations: 292.7 kB / 0.6871 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008025/0.6259, allocations: 491.9 kB / 0.6876 GB, free: 14.12 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001423/0.6273, allocations: 0.709 MB / 0.6883 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.6273, allocations: 4 kB / 0.6883 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004548/0.6319, allocations: 1.273 MB / 0.6895 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.311e-05/0.6319, allocations: 8 kB / 0.6895 GB, free: 12.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.011e-05/0.6319, allocations: 4 kB / 0.6895 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005691/0.6325, allocations: 136.8 kB / 0.6896 GB, free: 11.93 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006016/0.6331, allocations: 155.8 kB / 0.6898 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007982/0.6339, allocations: 0.6967 MB / 0.6905 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.6351, allocations: 160.9 kB / 0.6906 GB, free: 10.89 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.684e-05/0.6351, allocations: 35.98 kB / 0.6907 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001017/0.6362, allocations: 0.5457 MB / 0.6912 GB, free: 10.31 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007821/0.637, allocations: 492 kB / 0.6917 GB, free: 9.758 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001409/0.6384, allocations: 0.7128 MB / 0.6924 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.645e-06/0.6384, allocations: 0 / 0.6924 GB, free: 8.992 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004477/0.6429, allocations: 1.258 MB / 0.6936 GB, free: 7.723 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.733e-05/0.6429, allocations: 12 kB / 0.6936 GB, free: 7.711 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.04e-05/0.6429, allocations: 7.984 kB / 0.6936 GB, free: 7.703 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004802/0.6434, allocations: 132.7 kB / 0.6937 GB, free: 7.57 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005851/0.644, allocations: 167.8 kB / 0.6939 GB, free: 7.406 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007581/0.6448, allocations: 0.6966 MB / 0.6946 GB, free: 6.684 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.6459, allocations: 131.5 kB / 0.6947 GB, free: 6.555 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.449e-05/0.646, allocations: 35.98 kB / 0.6947 GB, free: 6.52 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.0002785/0.6462, allocations: 225.3 kB / 0.695 GB, free: 6.293 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002135/0.6465, allocations: 134.3 kB / 0.6951 GB, free: 6.16 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004516/0.651, allocations: 1.267 MB / 0.6963 GB, free: 4.875 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.651, allocations: 4 kB / 0.6963 GB, free: 4.871 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.406e-06/0.651, allocations: 4 kB / 0.6963 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004022/0.655, allocations: 1.103 MB / 0.6974 GB, free: 3.727 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006529/0.6616, allocations: 2.602 MB / 0.6999 GB, free: 1.012 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.934e-06/0.6616, allocations: 4 kB / 0.6999 GB, free: 1.008 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004706/0.6621, allocations: 120.2 kB / 0.7001 GB, free: 0.8906 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004841/0.6626, allocations: 128.7 kB / 0.7002 GB, free: 0.7617 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.797e-05/0.6626, allocations: 19.94 kB / 0.7002 GB, free: 0.7422 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004846/0.6675, allocations: 2.588 MB / 0.7027 GB, free: 14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.294e-06/0.6675, allocations: 11.88 kB / 0.7027 GB, free: 13.99 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005204/0.6727, allocations: 1.691 MB / 0.7044 GB, free: 12.23 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/0.6734, allocations: 307.1 kB / 0.7047 GB, free: 11.91 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002122/0.6736, allocations: 20 kB / 0.7047 GB, free: 11.89 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008997/0.6745, allocations: 75.97 kB / 0.7048 GB, free: 11.82 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/0.6747, allocations: 68.23 kB / 0.7048 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/0.6747, allocations: 27.98 kB / 0.7049 GB, free: 11.73 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001248/0.676, allocations: 0.866 MB / 0.7057 GB, free: 10.86 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.7e-07/0.676, allocations: 0 / 0.7057 GB, free: 10.86 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001863/0.6779, allocations: 0.7135 MB / 0.7064 GB, free: 10.14 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.0009075/0.6788, allocations: 448.5 kB / 0.7068 GB, free: 9.707 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.00281/0.6816, allocations: 1.149 MB / 0.708 GB, free: 8.555 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 5.14e-06/0.6816, allocations: 4.062 kB / 0.708 GB, free: 8.551 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001491/0.6831, allocations: 0.5602 MB / 0.7085 GB, free: 7.98 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003812/0.687, allocations: 0.8091 MB / 0.7093 GB, free: 7.219 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004209/0.6912, allocations: 2.753 MB / 0.712 GB, free: 4.395 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007507/0.692, allocations: 1.176 MB / 0.7131 GB, free: 3.191 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00128/0.6932, allocations: 307 kB / 0.7134 GB, free: 2.887 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002591/0.6935, allocations: 103.4 kB / 0.7135 GB, free: 2.785 MB / 0.545 GB Notification: Performance of SimCode: time 1.443e-06/0.6935, allocations: 3.938 kB / 0.7135 GB, free: 2.781 MB / 0.545 GB Notification: Performance of Templates: time 0.05369/0.7472, allocations: 31.5 MB / 0.7443 GB, free: 3.66 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)