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.001642/0.001642, allocations: 111.8 kB / 17.09 MB, free: 5.949 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.001794/0.001794, allocations: 198.9 kB / 18.03 MB, free: 5.035 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.404/1.404, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8303/0.8303, allocations: 126.1 MB / 418 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001245, allocations: 65.5 kB / 0.5738 GB, free: 27.03 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1684/0.1697, allocations: 78.7 MB / 0.6507 GB, free: 3.875 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.ModularReversible.Validation.Carnot_y): time 0.08166/0.2514, allocations: 75.39 MB / 0.7243 GB, free: 8.223 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01936/0.2708, allocations: 12.79 MB / 0.7368 GB, free: 11.39 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003118/0.2739, allocations: 67.62 kB / 0.7369 GB, free: 11.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003088/0.2771, allocations: 0.8579 MB / 0.7377 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008194/0.2853, allocations: 2.612 MB / 0.7403 GB, free: 7.844 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004248/0.2896, allocations: 1.394 MB / 0.7416 GB, free: 6.461 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.008756/0.2984, allocations: 4.431 MB / 0.746 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003064/0.3015, allocations: 1.437 MB / 0.7474 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4502/0.7517, allocations: 1.66 MB / 0.749 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.7547, allocations: 1.211 MB / 0.7502 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004777/0.7552, allocations: 163.2 kB / 0.7503 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003874/0.7591, allocations: 1.4 MB / 0.7517 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005/0.7596, allocations: 408.4 kB / 0.7521 GB, free: 31.25 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001543/0.7612, allocations: 0.9203 MB / 0.753 GB, free: 31.02 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006034/0.7672, allocations: 2.894 MB / 0.7558 GB, free: 30.66 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.7673, allocations: 2.406 kB / 0.7558 GB, free: 30.66 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.004e-06/0.7673, allocations: 0.5625 kB / 0.7558 GB, free: 30.66 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.098e-05/0.7673, allocations: 0.5625 kB / 0.7558 GB, free: 30.66 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.005284/0.7726, allocations: 2.161 MB / 0.7579 GB, free: 29.56 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.783e-05/0.7727, allocations: 8.875 kB / 0.7579 GB, free: 29.56 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001153/0.7738, allocations: 240.6 kB / 0.7582 GB, free: 29.46 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003303/0.7772, allocations: 1.557 MB / 0.7597 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.975e-05/0.7772, allocations: 78.8 kB / 0.7598 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000181/0.7774, allocations: 106 kB / 0.7599 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002274/0.7797, allocations: 1.105 MB / 0.7609 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.056e-05/0.7798, allocations: 0 / 0.7609 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.604e-05/0.7799, allocations: 38.88 kB / 0.761 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.865e-05/0.7799, allocations: 25.61 kB / 0.761 GB, free: 28.91 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002034/0.7819, allocations: 0.8838 MB / 0.7619 GB, free: 28.9 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.007474/0.7894, allocations: 4.941 MB / 0.7667 GB, free: 26.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001427/0.7909, allocations: 0.6005 MB / 0.7673 GB, free: 26.68 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008136/0.7917, allocations: 343 kB / 0.7676 GB, free: 26.67 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005939/0.7923, allocations: 0.8258 MB / 0.7684 GB, free: 25.73 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.042e-05/0.7924, allocations: 41.47 kB / 0.7684 GB, free: 25.69 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.636e-06/0.7924, allocations: 2.25 kB / 0.7684 GB, free: 25.69 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007922/0.8003, allocations: 1.72 MB / 0.7701 GB, free: 25.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.068e-05/0.8004, allocations: 57.53 kB / 0.7702 GB, free: 25.36 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002211/0.8026, allocations: 1.258 MB / 0.7714 GB, free: 25.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001772/0.8028, allocations: 39.17 kB / 0.7714 GB, free: 25.17 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004803/0.8033, allocations: 0.6185 MB / 0.772 GB, free: 24.95 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002415/0.8035, allocations: 218 kB / 0.7723 GB, free: 24.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002471/0.8038, allocations: 157.8 kB / 0.7724 GB, free: 24.79 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.904e-05/0.8038, allocations: 334 kB / 0.7727 GB, free: 24.48 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006342/0.8045, allocations: 289.8 kB / 0.773 GB, free: 24.47 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007846/0.8053, allocations: 491.6 kB / 0.7735 GB, free: 24.26 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001326/0.8066, allocations: 0.7065 MB / 0.7742 GB, free: 24.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.05e-06/0.8066, allocations: 0 / 0.7742 GB, free: 24.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004853/0.8115, allocations: 1.276 MB / 0.7754 GB, free: 23.97 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.75e-05/0.8115, allocations: 8.625 kB / 0.7754 GB, free: 23.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/0.8115, allocations: 8.656 kB / 0.7754 GB, free: 23.96 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000672/0.8122, allocations: 144 kB / 0.7756 GB, free: 23.95 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006807/0.8129, allocations: 156.9 kB / 0.7757 GB, free: 23.95 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007693/0.8137, allocations: 0.6953 MB / 0.7764 GB, free: 23.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001595/0.8153, allocations: 127 kB / 0.7765 GB, free: 23.38 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.82e-05/0.8154, allocations: 35.56 kB / 0.7765 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001289/0.8167, allocations: 0.55 MB / 0.7771 GB, free: 23.29 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007399/0.8175, allocations: 497 kB / 0.7776 GB, free: 23.08 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001311/0.8188, allocations: 0.6956 MB / 0.7782 GB, free: 22.94 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.809e-06/0.8188, allocations: 1.312 kB / 0.7782 GB, free: 22.94 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004864/0.8237, allocations: 1.272 MB / 0.7795 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.8237, allocations: 6.875 kB / 0.7795 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.756e-06/0.8237, allocations: 4.125 kB / 0.7795 GB, free: 22.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005461/0.8243, allocations: 142.3 kB / 0.7796 GB, free: 22.79 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006433/0.8249, allocations: 158.1 kB / 0.7798 GB, free: 22.78 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00072/0.8256, allocations: 0.6967 MB / 0.7805 GB, free: 22.26 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00158/0.8272, allocations: 98.05 kB / 0.7805 GB, free: 22.23 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.252e-05/0.8273, allocations: 38.16 kB / 0.7806 GB, free: 22.23 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.0003039/0.8276, allocations: 216.5 kB / 0.7808 GB, free: 22.05 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003431/0.828, allocations: 141.5 kB / 0.7809 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004596/0.8326, allocations: 1.262 MB / 0.7822 GB, free: 21.85 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003847/0.8365, allocations: 1.092 MB / 0.7832 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.773e-06/0.8365, allocations: 0 / 0.7832 GB, free: 21.65 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009949/0.8375, allocations: 312.6 kB / 0.7835 GB, free: 21.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002108/0.8377, allocations: 14.41 kB / 0.7835 GB, free: 21.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007795/0.8385, allocations: 53.48 kB / 0.7836 GB, free: 21.47 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.8386, allocations: 52.27 kB / 0.7836 GB, free: 21.47 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002442/0.8411, allocations: 0.942 MB / 0.7846 GB, free: 21.32 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002275/0.8434, allocations: 1.319 MB / 0.7858 GB, free: 21.02 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006152/0.844, allocations: 321.5 kB / 0.7862 GB, free: 21.01 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001287/0.8453, allocations: 0.8825 MB / 0.787 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of Backend: time 5.21e-07/0.8453, allocations: 7.688 kB / 0.787 GB, free: 20.89 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004358/0.8497, allocations: 1.395 MB / 0.7884 GB, free: 20.7 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005096/0.8548, allocations: 3.199 MB / 0.7915 GB, free: 19.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.05051/0.9053, allocations: 34.35 MB / 0.8251 GB, free: 8.016 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)