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.001172/0.001172, allocations: 111.8 kB / 17.09 MB, free: 5.977 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.001288/0.001288, allocations: 194.7 kB / 18.02 MB, free: 5.059 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.394/1.394, allocations: 222.9 MB / 241.7 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7893/0.7893, allocations: 126.1 MB / 417.9 MB, free: 12.81 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00126/0.00126, allocations: 73.06 kB / 0.5738 GB, free: 27.17 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1719/0.1731, allocations: 78.7 MB / 0.6507 GB, free: 4.043 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.07272/0.2459, allocations: 75.38 MB / 0.7243 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02224/0.2682, allocations: 12.8 MB / 0.7368 GB, free: 11.58 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003167/0.2714, allocations: 67.62 kB / 0.7369 GB, free: 11.51 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.00242/0.2739, allocations: 0.854 MB / 0.7377 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007386/0.2813, allocations: 2.612 MB / 0.7402 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003727/0.285, allocations: 1.398 MB / 0.7416 GB, free: 6.645 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00637/0.2914, allocations: 4.423 MB / 0.7459 GB, free: 2.211 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002119/0.2935, allocations: 1.449 MB / 0.7473 GB, free: 0.7188 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4808/0.7744, allocations: 1.658 MB / 0.749 GB, free: 30.52 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003599/0.778, allocations: 1.204 MB / 0.7501 GB, free: 30.52 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009779/0.779, allocations: 165.2 kB / 0.7503 GB, free: 30.52 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005552/0.7846, allocations: 1.407 MB / 0.7517 GB, free: 30.52 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001116/0.7857, allocations: 407.6 kB / 0.7521 GB, free: 30.52 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003053/0.7888, allocations: 0.9195 MB / 0.753 GB, free: 30.33 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009797/0.7986, allocations: 2.899 MB / 0.7558 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.34e-06/0.7986, allocations: 0.6562 kB / 0.7558 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7987, allocations: 1.156 kB / 0.7558 GB, free: 29.97 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001445/0.7988, allocations: 2.281 kB / 0.7558 GB, free: 29.97 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.009/0.8078, allocations: 2.157 MB / 0.7579 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 6.09e-05/0.8079, allocations: 9.391 kB / 0.7579 GB, free: 28.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.8097, allocations: 244.4 kB / 0.7581 GB, free: 28.78 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005118/0.8149, allocations: 1.546 MB / 0.7596 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001369/0.815, allocations: 78.78 kB / 0.7597 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003784/0.8154, allocations: 101.4 kB / 0.7598 GB, free: 28.36 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004236/0.8197, allocations: 1.103 MB / 0.7609 GB, free: 28.22 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.574e-05/0.8197, allocations: 1.188 kB / 0.7609 GB, free: 28.22 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001951/0.8199, allocations: 38.72 kB / 0.7609 GB, free: 28.22 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.639e-05/0.82, allocations: 26.56 kB / 0.761 GB, free: 28.22 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003499/0.8235, allocations: 0.8903 MB / 0.7618 GB, free: 28.21 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.009011/0.8326, allocations: 4.931 MB / 0.7666 GB, free: 26.04 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.834, allocations: 0.6063 MB / 0.7672 GB, free: 26 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008525/0.8349, allocations: 342.6 kB / 0.7676 GB, free: 25.99 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005583/0.8355, allocations: 0.828 MB / 0.7684 GB, free: 25.05 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.346e-05/0.8355, allocations: 41.06 kB / 0.7684 GB, free: 25.01 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.407e-06/0.8355, allocations: 4.5 kB / 0.7684 GB, free: 25 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007594/0.8431, allocations: 1.716 MB / 0.7701 GB, free: 24.74 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.8432, allocations: 58.44 kB / 0.7701 GB, free: 24.68 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002449/0.8456, allocations: 1.258 MB / 0.7714 GB, free: 24.51 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001176/0.8458, allocations: 39.61 kB / 0.7714 GB, free: 24.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005461/0.8463, allocations: 0.6177 MB / 0.772 GB, free: 24.27 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002619/0.8466, allocations: 219.8 kB / 0.7722 GB, free: 24.12 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000287/0.8469, allocations: 153.6 kB / 0.7724 GB, free: 24.1 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 9.037e-05/0.847, allocations: 339.6 kB / 0.7727 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007006/0.8477, allocations: 282.8 kB / 0.773 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008568/0.8486, allocations: 492.4 kB / 0.7734 GB, free: 23.57 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001383/0.8499, allocations: 0.7087 MB / 0.7741 GB, free: 23.43 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.583e-06/0.85, allocations: 1.5 kB / 0.7741 GB, free: 23.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004802/0.8548, allocations: 1.279 MB / 0.7754 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.29e-05/0.8548, allocations: 6.438 kB / 0.7754 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.263e-05/0.8548, allocations: 4.188 kB / 0.7754 GB, free: 23.28 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000647/0.8555, allocations: 145.6 kB / 0.7755 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006451/0.8561, allocations: 160.4 kB / 0.7757 GB, free: 23.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007252/0.8569, allocations: 0.6867 MB / 0.7764 GB, free: 22.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001343/0.8582, allocations: 132.6 kB / 0.7765 GB, free: 22.69 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.36e-05/0.8583, allocations: 32.45 kB / 0.7765 GB, free: 22.69 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00121/0.8595, allocations: 0.5521 MB / 0.777 GB, free: 22.61 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008061/0.8604, allocations: 492.6 kB / 0.7775 GB, free: 22.4 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001269/0.8616, allocations: 0.6973 MB / 0.7782 GB, free: 22.26 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.186e-06/0.8617, allocations: 0 / 0.7782 GB, free: 22.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004626/0.8663, allocations: 1.266 MB / 0.7794 GB, free: 22.12 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.8663, allocations: 10.91 kB / 0.7794 GB, free: 22.11 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.856e-06/0.8663, allocations: 4.125 kB / 0.7795 GB, free: 22.11 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005413/0.8669, allocations: 140.2 kB / 0.7796 GB, free: 22.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005999/0.8675, allocations: 161.5 kB / 0.7797 GB, free: 22.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006826/0.8682, allocations: 0.7015 MB / 0.7804 GB, free: 21.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001328/0.8695, allocations: 96.52 kB / 0.7805 GB, free: 21.55 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.245e-05/0.8696, allocations: 40.98 kB / 0.7806 GB, free: 21.54 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.0002625/0.8699, allocations: 222.4 kB / 0.7808 GB, free: 21.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000425/0.8703, allocations: 141.3 kB / 0.7809 GB, free: 21.29 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004457/0.8748, allocations: 1.267 MB / 0.7821 GB, free: 21.16 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/0.8785, allocations: 1.09 MB / 0.7832 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.081e-06/0.8786, allocations: 2.469 kB / 0.7832 GB, free: 20.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000898/0.8795, allocations: 310.7 kB / 0.7835 GB, free: 20.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005161/0.88, allocations: 9.875 kB / 0.7835 GB, free: 20.79 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001129/0.8811, allocations: 55.17 kB / 0.7836 GB, free: 20.79 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001425/0.8813, allocations: 49.23 kB / 0.7836 GB, free: 20.79 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002582/0.8839, allocations: 0.9439 MB / 0.7845 GB, free: 20.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002501/0.8864, allocations: 1.315 MB / 0.7858 GB, free: 20.33 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006613/0.8871, allocations: 318.3 kB / 0.7861 GB, free: 20.32 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001519/0.8886, allocations: 0.8833 MB / 0.787 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of Backend: time 4.71e-07/0.8886, allocations: 4 kB / 0.787 GB, free: 20.21 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004986/0.8936, allocations: 1.395 MB / 0.7883 GB, free: 20.02 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005931/0.8996, allocations: 3.216 MB / 0.7915 GB, free: 18.51 MB / 0.5762 GB Notification: Performance of Templates: time 0.05077/0.9503, allocations: 34.35 MB / 0.825 GB, free: 7.457 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)