Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.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.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001573/0.001573, allocations: 118.6 kB / 17.09 MB, free: 6.008 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.002191/0.002192, allocations: 193.6 kB / 18.03 MB, free: 5.086 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.426/1.426, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7882/0.7882, allocations: 126.1 MB / 417.9 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.84 kB / 0.5738 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1878/0.189, allocations: 78.7 MB / 0.6507 GB, free: 4.062 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.08437/0.2735, allocations: 75.37 MB / 0.7243 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02035/0.2939, allocations: 12.8 MB / 0.7368 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/0.2971, allocations: 67.62 kB / 0.7368 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002955/0.3001, allocations: 0.8579 MB / 0.7377 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008426/0.3086, allocations: 2.617 MB / 0.7402 GB, free: 8.039 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004358/0.313, allocations: 1.386 MB / 0.7416 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007608/0.3206, allocations: 4.436 MB / 0.7459 GB, free: 2.223 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003028/0.3236, allocations: 1.445 MB / 0.7473 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4696/0.7933, allocations: 1.664 MB / 0.7489 GB, free: 31.15 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002968/0.7963, allocations: 1.205 MB / 0.7501 GB, free: 31.15 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004562/0.7968, allocations: 165.8 kB / 0.7503 GB, free: 31.15 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004015/0.8008, allocations: 1.402 MB / 0.7517 GB, free: 31.15 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005011/0.8013, allocations: 402.7 kB / 0.752 GB, free: 31.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001434/0.8027, allocations: 0.9192 MB / 0.7529 GB, free: 30.97 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006419/0.8092, allocations: 2.907 MB / 0.7558 GB, free: 30.61 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.8092, allocations: 0 / 0.7558 GB, free: 30.61 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8092, allocations: 0.875 kB / 0.7558 GB, free: 30.61 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.068e-05/0.8093, allocations: 0 / 0.7558 GB, free: 30.61 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.004935/0.8142, allocations: 2.164 MB / 0.7579 GB, free: 29.51 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.413e-05/0.8143, allocations: 9.438 kB / 0.7579 GB, free: 29.51 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001019/0.8153, allocations: 240.9 kB / 0.7581 GB, free: 29.41 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002988/0.8183, allocations: 1.565 MB / 0.7597 GB, free: 28.99 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.869e-05/0.8184, allocations: 77.38 kB / 0.7597 GB, free: 28.99 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001721/0.8186, allocations: 102.8 kB / 0.7598 GB, free: 28.99 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002145/0.8207, allocations: 1.1 MB / 0.7609 GB, free: 28.86 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.959e-05/0.8207, allocations: 3.031 kB / 0.7609 GB, free: 28.86 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.582e-05/0.8208, allocations: 41.14 kB / 0.7609 GB, free: 28.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.722e-05/0.8209, allocations: 32.08 kB / 0.761 GB, free: 28.86 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001971/0.8229, allocations: 0.8931 MB / 0.7618 GB, free: 28.85 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.006414/0.8293, allocations: 4.938 MB / 0.7667 GB, free: 26.67 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001403/0.8307, allocations: 0.5975 MB / 0.7673 GB, free: 26.64 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007957/0.8315, allocations: 347.4 kB / 0.7676 GB, free: 26.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005393/0.8321, allocations: 0.8239 MB / 0.7684 GB, free: 25.68 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.784e-05/0.8321, allocations: 38.91 kB / 0.7684 GB, free: 25.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 4.298e-06/0.8321, allocations: 6.766 kB / 0.7684 GB, free: 25.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.00748/0.8396, allocations: 1.719 MB / 0.7701 GB, free: 25.38 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.245e-05/0.8396, allocations: 57.88 kB / 0.7702 GB, free: 25.32 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001899/0.8416, allocations: 1.257 MB / 0.7714 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.316e-05/0.8417, allocations: 42.77 kB / 0.7714 GB, free: 25.12 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000442/0.8421, allocations: 0.6208 MB / 0.772 GB, free: 24.9 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.8423, allocations: 219.3 kB / 0.7722 GB, free: 24.76 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002448/0.8426, allocations: 157.5 kB / 0.7724 GB, free: 24.74 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.059e-05/0.8427, allocations: 333.4 kB / 0.7727 GB, free: 24.43 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006301/0.8433, allocations: 286.7 kB / 0.773 GB, free: 24.42 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007645/0.8441, allocations: 0.491 MB / 0.7735 GB, free: 24.2 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001314/0.8454, allocations: 0.7054 MB / 0.7742 GB, free: 24.05 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.211e-06/0.8454, allocations: 4.656 kB / 0.7742 GB, free: 24.05 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004587/0.85, allocations: 1.28 MB / 0.7754 GB, free: 23.91 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.21e-05/0.85, allocations: 9.688 kB / 0.7754 GB, free: 23.91 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.236e-05/0.8501, allocations: 4.062 kB / 0.7754 GB, free: 23.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.8507, allocations: 149.4 kB / 0.7756 GB, free: 23.89 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006239/0.8513, allocations: 158.3 kB / 0.7757 GB, free: 23.89 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007423/0.8521, allocations: 0.7105 MB / 0.7764 GB, free: 23.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001308/0.8534, allocations: 123.8 kB / 0.7765 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-05/0.8535, allocations: 30.22 kB / 0.7766 GB, free: 23.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001078/0.8546, allocations: 0.5548 MB / 0.7771 GB, free: 23.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007362/0.8553, allocations: 493.8 kB / 0.7776 GB, free: 23.01 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001205/0.8565, allocations: 0.6937 MB / 0.7783 GB, free: 22.88 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.595e-06/0.8565, allocations: 5.781 kB / 0.7783 GB, free: 22.87 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.00438/0.8609, allocations: 1.266 MB / 0.7795 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.861, allocations: 8.469 kB / 0.7795 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.861, allocations: 4.125 kB / 0.7795 GB, free: 22.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005125/0.8615, allocations: 148.3 kB / 0.7796 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005794/0.8621, allocations: 160.2 kB / 0.7798 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006877/0.8628, allocations: 0.7052 MB / 0.7805 GB, free: 22.18 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001255/0.864, allocations: 105.2 kB / 0.7806 GB, free: 22.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.038e-05/0.8641, allocations: 29.36 kB / 0.7806 GB, free: 22.16 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002982/0.8644, allocations: 223.7 kB / 0.7808 GB, free: 21.98 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002602/0.8647, allocations: 145.6 kB / 0.781 GB, free: 21.9 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004346/0.869, allocations: 1.26 MB / 0.7822 GB, free: 21.78 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003682/0.8727, allocations: 1.096 MB / 0.7833 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.149e-06/0.8728, allocations: 0 / 0.7833 GB, free: 21.58 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006893/0.8735, allocations: 314.8 kB / 0.7836 GB, free: 21.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002001/0.8737, allocations: 17.12 kB / 0.7836 GB, free: 21.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006958/0.8744, allocations: 52.11 kB / 0.7836 GB, free: 21.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.8745, allocations: 48.69 kB / 0.7837 GB, free: 21.4 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002319/0.8768, allocations: 0.952 MB / 0.7846 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002155/0.879, allocations: 1.318 MB / 0.7859 GB, free: 20.94 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0005824/0.8796, allocations: 319.2 kB / 0.7862 GB, free: 20.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001165/0.8808, allocations: 0.8824 MB / 0.7871 GB, free: 20.82 MB / 0.5762 GB Notification: Performance of Backend: time 4e-07/0.8808, allocations: 0 / 0.7871 GB, free: 20.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004036/0.8848, allocations: 1.413 MB / 0.7884 GB, free: 20.63 MB / 0.5762 GB Notification: Performance of SimCode: time 0.00545/0.8903, allocations: 3.231 MB / 0.7916 GB, free: 19.12 MB / 0.5762 GB Notification: Performance of Templates: time 0.05151/0.9418, allocations: 34.85 MB / 0.8256 GB, free: 7.523 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y.pipe 2>&1)