Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.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.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y") translateModel(IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001243/0.001244, allocations: 114.4 kB / 17.08 MB, free: 6.012 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.00117/0.00117, allocations: 193.8 kB / 18.02 MB, free: 5.09 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.283/1.283, allocations: 222.9 MB / 241.7 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7422/0.7422, allocations: 126.1 MB / 417.9 MB, free: 12.83 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 63.86 kB / 0.5738 GB, free: 27.18 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1432/0.1445, allocations: 78.69 MB / 0.6507 GB, free: 4.02 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.07129/0.2158, allocations: 75.39 MB / 0.7243 GB, free: 8.375 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01772/0.2336, allocations: 12.79 MB / 0.7368 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002522/0.2361, allocations: 63.62 kB / 0.7368 GB, free: 11.48 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002429/0.2386, allocations: 0.8618 MB / 0.7377 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.00693/0.2456, allocations: 2.604 MB / 0.7402 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003717/0.2493, allocations: 1.394 MB / 0.7416 GB, free: 6.621 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.006165/0.2555, allocations: 4.427 MB / 0.7459 GB, free: 2.184 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002388/0.2579, allocations: 1.449 MB / 0.7473 GB, free: 0.6914 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.3383/0.5963, allocations: 1.655 MB / 0.7489 GB, free: 30.5 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002457/0.5987, allocations: 1.213 MB / 0.7501 GB, free: 30.5 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003917/0.5991, allocations: 163.9 kB / 0.7503 GB, free: 30.5 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003171/0.6023, allocations: 1.404 MB / 0.7517 GB, free: 30.5 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004226/0.6027, allocations: 406.4 kB / 0.752 GB, free: 30.5 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001143/0.6039, allocations: 0.9202 MB / 0.7529 GB, free: 30.31 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005125/0.609, allocations: 2.897 MB / 0.7558 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6091, allocations: 1.094 kB / 0.7558 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.675e-06/0.6091, allocations: 1.156 kB / 0.7558 GB, free: 29.95 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.228e-05/0.6091, allocations: 2 kB / 0.7558 GB, free: 29.95 MB / 0.5762 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.004711/0.6138, allocations: 2.161 MB / 0.7579 GB, free: 28.86 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.669e-05/0.6139, allocations: 10.08 kB / 0.7579 GB, free: 28.86 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009811/0.6149, allocations: 241.4 kB / 0.7581 GB, free: 28.76 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002802/0.6177, allocations: 1.547 MB / 0.7596 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.773e-05/0.6178, allocations: 80.53 kB / 0.7597 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001634/0.6179, allocations: 103.8 kB / 0.7598 GB, free: 28.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.62, allocations: 1.102 MB / 0.7609 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.778e-05/0.62, allocations: 2.125 kB / 0.7609 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.775e-05/0.6201, allocations: 40.19 kB / 0.7609 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.779e-05/0.6201, allocations: 25.05 kB / 0.761 GB, free: 28.2 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001845/0.622, allocations: 0.8871 MB / 0.7618 GB, free: 28.2 MB / 0.5762 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.006048/0.6281, allocations: 4.938 MB / 0.7666 GB, free: 26.02 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001265/0.6293, allocations: 0.6046 MB / 0.7672 GB, free: 25.98 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007104/0.6301, allocations: 343.1 kB / 0.7676 GB, free: 25.97 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004388/0.6305, allocations: 0.828 MB / 0.7684 GB, free: 25.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.376e-05/0.6305, allocations: 46.03 kB / 0.7684 GB, free: 24.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.404e-06/0.6305, allocations: 0 / 0.7684 GB, free: 24.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007111/0.6377, allocations: 1.715 MB / 0.7701 GB, free: 24.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.672e-05/0.6377, allocations: 61.97 kB / 0.7701 GB, free: 24.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001817/0.6395, allocations: 1.256 MB / 0.7714 GB, free: 24.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001486/0.6397, allocations: 41.92 kB / 0.7714 GB, free: 24.46 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004279/0.6401, allocations: 0.6167 MB / 0.772 GB, free: 24.25 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002159/0.6404, allocations: 225 kB / 0.7722 GB, free: 24.11 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002317/0.6406, allocations: 153.8 kB / 0.7724 GB, free: 24.09 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.514e-05/0.6407, allocations: 333.5 kB / 0.7727 GB, free: 23.78 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000611/0.6413, allocations: 288.3 kB / 0.773 GB, free: 23.77 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007286/0.642, allocations: 496.5 kB / 0.7734 GB, free: 23.56 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001239/0.6433, allocations: 0.7037 MB / 0.7741 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.632e-06/0.6433, allocations: 1.375 kB / 0.7741 GB, free: 23.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004386/0.6477, allocations: 1.276 MB / 0.7754 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.6477, allocations: 7.281 kB / 0.7754 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/0.6477, allocations: 6.219 kB / 0.7754 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005896/0.6483, allocations: 147 kB / 0.7755 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006143/0.649, allocations: 156.3 kB / 0.7757 GB, free: 23.25 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006792/0.6496, allocations: 0.6959 MB / 0.7764 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.6509, allocations: 121.1 kB / 0.7765 GB, free: 22.68 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.386e-05/0.651, allocations: 41.86 kB / 0.7765 GB, free: 22.67 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001071/0.6521, allocations: 0.5469 MB / 0.777 GB, free: 22.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000697/0.6528, allocations: 492.1 kB / 0.7775 GB, free: 22.38 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001194/0.654, allocations: 0.6937 MB / 0.7782 GB, free: 22.24 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.487e-06/0.654, allocations: 1.312 kB / 0.7782 GB, free: 22.24 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004329/0.6584, allocations: 1.268 MB / 0.7794 GB, free: 22.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.6584, allocations: 8.375 kB / 0.7794 GB, free: 22.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.805e-06/0.6584, allocations: 3.969 kB / 0.7794 GB, free: 22.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005282/0.659, allocations: 150.2 kB / 0.7796 GB, free: 22.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006243/0.6596, allocations: 156.6 kB / 0.7797 GB, free: 22.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000617/0.6602, allocations: 0.695 MB / 0.7804 GB, free: 21.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001304/0.6615, allocations: 102 kB / 0.7805 GB, free: 21.53 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.516e-05/0.6616, allocations: 32.28 kB / 0.7805 GB, free: 21.53 MB / 0.5762 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.0002392/0.6619, allocations: 223.2 kB / 0.7808 GB, free: 21.35 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002563/0.6621, allocations: 143.1 kB / 0.7809 GB, free: 21.27 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004053/0.6662, allocations: 1.263 MB / 0.7821 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.49e-05/0.6662, allocations: 8.375 kB / 0.7821 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.6662, allocations: 3.281 kB / 0.7821 GB, free: 21.14 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003477/0.6697, allocations: 1.089 MB / 0.7832 GB, free: 20.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005758/0.6755, allocations: 2.591 MB / 0.7857 GB, free: 20.44 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.822e-06/0.6755, allocations: 5.969 kB / 0.7857 GB, free: 20.44 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004346/0.676, allocations: 114.7 kB / 0.7858 GB, free: 20.44 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004396/0.6764, allocations: 144.7 kB / 0.786 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.209e-05/0.6765, allocations: 17.86 kB / 0.786 GB, free: 20.42 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003945/0.6804, allocations: 2.583 MB / 0.7885 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.6804, allocations: 4.875 kB / 0.7885 GB, free: 18.83 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004642/0.6851, allocations: 1.701 MB / 0.7902 GB, free: 18.44 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006768/0.6858, allocations: 317.8 kB / 0.7905 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000223/0.686, allocations: 13 kB / 0.7905 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007995/0.6868, allocations: 63 kB / 0.7906 GB, free: 18.26 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/0.687, allocations: 57.69 kB / 0.7906 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.272e-05/0.687, allocations: 26.17 kB / 0.7906 GB, free: 18.25 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001095/0.6881, allocations: 0.9072 MB / 0.7915 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6881, allocations: 0 / 0.7915 GB, free: 18.14 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001997/0.6901, allocations: 0.7288 MB / 0.7922 GB, free: 18.04 MB / 0.5762 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.0008558/0.691, allocations: 476.3 kB / 0.7927 GB, free: 17.87 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002225/0.6932, allocations: 1.106 MB / 0.7938 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.68e-06/0.6933, allocations: 3.188 kB / 0.7938 GB, free: 17.78 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001232/0.6945, allocations: 0.5593 MB / 0.7943 GB, free: 17.58 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003118/0.6976, allocations: 0.8121 MB / 0.7951 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00307/0.7007, allocations: 2.361 MB / 0.7974 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004691/0.7012, allocations: 1.186 MB / 0.7986 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002987/0.7015, allocations: 110.3 kB / 0.7987 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of SimCode: time 8.51e-07/0.7015, allocations: 0 / 0.7987 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.03254/0.7341, allocations: 31.97 MB / 0.8299 GB, free: 2.637 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y.pipe 2>&1)