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.001073/0.001073, allocations: 98.27 kB / 16.02 MB, free: 80 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.000909/0.0009089, allocations: 187 kB / 16.92 MB, free: 6.754 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7103/0.7103, allocations: 115.5 MB / 407.6 MB, free: 2.715 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003518/0.0003518, allocations: 16.95 kB / 495.9 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.163/0.1633, allocations: 77.54 MB / 0.56 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_y): time 0.3782/0.5416, allocations: 73.37 MB / 0.6316 GB, free: 5.875 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02085/0.5625, allocations: 12.68 MB / 0.644 GB, free: 12.25 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003648/0.5662, allocations: 57.84 kB / 0.6441 GB, free: 12.22 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.002477/0.5687, allocations: 0.6758 MB / 0.6447 GB, free: 11.64 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.008385/0.5771, allocations: 2.263 MB / 0.6469 GB, free: 9.82 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003832/0.5809, allocations: 1.272 MB / 0.6482 GB, free: 8.859 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.008132/0.589, allocations: 5.555 MB / 0.6536 GB, free: 5.766 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002554/0.5916, allocations: 1.143 MB / 0.6547 GB, free: 5.055 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003668/0.5953, allocations: 1.316 MB / 0.656 GB, free: 4.324 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002667/0.598, allocations: 1.123 MB / 0.6571 GB, free: 3.328 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004399/0.5985, allocations: 52 kB / 0.6571 GB, free: 3.277 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00369/0.6022, allocations: 1.247 MB / 0.6584 GB, free: 2.027 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005173/0.6027, allocations: 286.7 kB / 0.6586 GB, free: 1.746 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001462/0.6042, allocations: 0.8022 MB / 0.6594 GB, free: 0.9336 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.6082, allocations: 2.714 MB / 0.6621 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.6082, allocations: 0 / 0.6621 GB, free: 14.21 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.404e-06/0.6083, allocations: 4 kB / 0.6621 GB, free: 14.21 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.364e-05/0.6083, allocations: 0 / 0.6621 GB, free: 14.21 MB / 494.1 MB 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.003507/0.6118, allocations: 1.783 MB / 0.6638 GB, free: 12.36 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6119, allocations: 8.031 kB / 0.6638 GB, free: 12.35 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000811/0.6127, allocations: 246.8 kB / 0.664 GB, free: 12.11 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002385/0.6151, allocations: 1.49 MB / 0.6655 GB, free: 10.56 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.153e-05/0.6151, allocations: 78 kB / 0.6656 GB, free: 10.49 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001676/0.6153, allocations: 104 kB / 0.6657 GB, free: 10.39 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002114/0.6174, allocations: 1.127 MB / 0.6668 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.691e-05/0.6175, allocations: 0 / 0.6668 GB, free: 9.223 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.401e-05/0.6176, allocations: 40 kB / 0.6668 GB, free: 9.184 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.354e-05/0.6176, allocations: 24 kB / 0.6668 GB, free: 9.16 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001989/0.6196, allocations: 0.929 MB / 0.6677 GB, free: 8.234 MB / 494.1 MB 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.006027/0.6257, allocations: 4.904 MB / 0.6725 GB, free: 3.043 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.6271, allocations: 0.6403 MB / 0.6732 GB, free: 2.395 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007431/0.6279, allocations: 374.3 kB / 0.6735 GB, free: 2.027 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007268/0.6286, allocations: 0.8277 MB / 0.6743 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.873e-05/0.6287, allocations: 39.12 kB / 0.6744 GB, free: 0.9688 MB / 494.1 MB Notification: Performance of pre-optimization done (n=61): time 2.284e-06/0.6287, allocations: 3.938 kB / 0.6744 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of matching and sorting (n=61): time 0.007719/0.6364, allocations: 1.888 MB / 0.6762 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.134e-05/0.6365, allocations: 63.97 kB / 0.6763 GB, free: 14.98 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001727/0.6382, allocations: 1.21 MB / 0.6775 GB, free: 13.75 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 7.449e-05/0.6383, allocations: 41.7 kB / 0.6775 GB, free: 13.7 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005384/0.6388, allocations: 0.5987 MB / 0.6781 GB, free: 13.1 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002053/0.639, allocations: 216.8 kB / 0.6783 GB, free: 12.88 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.188e-05/0.6391, allocations: 61.69 kB / 0.6783 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.6393, allocations: 333.9 kB / 0.6787 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006978/0.64, allocations: 309.8 kB / 0.679 GB, free: 12.18 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008844/0.6409, allocations: 0.5038 MB / 0.6795 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00154/0.6424, allocations: 0.7557 MB / 0.6802 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.6425, allocations: 4 kB / 0.6802 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005069/0.6475, allocations: 1.406 MB / 0.6816 GB, free: 9.379 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001518/0.6477, allocations: 190.3 kB / 0.6817 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.386e-05/0.6477, allocations: 7.984 kB / 0.6818 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006372/0.6484, allocations: 144.7 kB / 0.6819 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006632/0.649, allocations: 167.8 kB / 0.6821 GB, free: 8.824 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008681/0.6499, allocations: 0.7175 MB / 0.6828 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.6513, allocations: 163.1 kB / 0.6829 GB, free: 7.922 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.329e-05/0.6514, allocations: 35.98 kB / 0.6829 GB, free: 7.887 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 9.538e-06/0.6514, allocations: 4 kB / 0.6829 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004852/0.6562, allocations: 1.242 MB / 0.6842 GB, free: 6.637 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.6563, allocations: 4.375 kB / 0.6842 GB, free: 6.633 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000566/0.6568, allocations: 148.7 kB / 0.6843 GB, free: 6.484 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000651/0.6575, allocations: 171.8 kB / 0.6845 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008421/0.6583, allocations: 0.7084 MB / 0.6852 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001291/0.6596, allocations: 164.9 kB / 0.6853 GB, free: 5.422 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.272e-05/0.6597, allocations: 35.98 kB / 0.6854 GB, free: 5.387 MB / 0.4981 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.0007289/0.6605, allocations: 409 kB / 0.6857 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002314/0.6607, allocations: 142.2 kB / 0.6859 GB, free: 4.836 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005226/0.666, allocations: 1.4 MB / 0.6872 GB, free: 3.422 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.278e-05/0.666, allocations: 11.94 kB / 0.6873 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.003e-05/0.666, allocations: 0 / 0.6873 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004709/0.6707, allocations: 1.236 MB / 0.6885 GB, free: 2.137 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007609/0.6784, allocations: 2.735 MB / 0.6911 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.103e-05/0.6784, allocations: 4 kB / 0.6911 GB, free: 15.29 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005385/0.6789, allocations: 124.2 kB / 0.6913 GB, free: 15.16 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005457/0.6795, allocations: 136.7 kB / 0.6914 GB, free: 15.03 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.692e-05/0.6796, allocations: 16 kB / 0.6914 GB, free: 15.01 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005155/0.6847, allocations: 2.439 MB / 0.6938 GB, free: 12.42 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/0.6848, allocations: 8.031 kB / 0.6938 GB, free: 12.41 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005806/0.6906, allocations: 1.844 MB / 0.6956 GB, free: 10.5 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008742/0.6915, allocations: 339.1 kB / 0.6959 GB, free: 10.15 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001808/0.6917, allocations: 20.06 kB / 0.6959 GB, free: 10.13 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00094/0.6926, allocations: 91.75 kB / 0.696 GB, free: 10.04 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001553/0.6928, allocations: 68.23 kB / 0.6961 GB, free: 9.977 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.948e-05/0.6929, allocations: 31.98 kB / 0.6961 GB, free: 9.945 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001361/0.6942, allocations: 0.866 MB / 0.697 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of sort global known variables: time 3.2e-07/0.6942, allocations: 0 / 0.697 GB, free: 9.078 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002266/0.6965, allocations: 0.7096 MB / 0.6977 GB, free: 8.367 MB / 0.5137 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.001025/0.6975, allocations: 451.5 kB / 0.6981 GB, free: 7.93 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.00301/0.7006, allocations: 1.164 MB / 0.6992 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 8.246e-06/0.7006, allocations: 0 / 0.6992 GB, free: 6.766 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.001652/0.7023, allocations: 0.6033 MB / 0.6998 GB, free: 6.152 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004815/0.7071, allocations: 0.7854 MB / 0.7006 GB, free: 5.383 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004911/0.712, allocations: 2.798 MB / 0.7033 GB, free: 2.508 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008669/0.7129, allocations: 1.169 MB / 0.7045 GB, free: 1.312 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.001583/0.7145, allocations: 303 kB / 0.7047 GB, free: 1.012 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003191/0.7148, allocations: 115.3 kB / 0.7049 GB, free: 0.8984 MB / 0.5137 GB Notification: Performance of SimCode: time 1.202e-06/0.7148, allocations: 3.938 kB / 0.7049 GB, free: 0.8945 MB / 0.5137 GB Notification: Performance of Templates: time 0.05974/0.7746, allocations: 31.82 MB / 0.7359 GB, free: 1.434 MB / 0.545 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)