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.001624/0.001624, allocations: 110.6 kB / 17.08 MB, free: 6.062 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.001636/0.001636, allocations: 194.7 kB / 18.02 MB, free: 5.152 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.437/1.437, 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.815/0.815, allocations: 126.1 MB / 417.9 MB, free: 12.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001271/0.001271, allocations: 71.97 kB / 0.5738 GB, free: 27.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1697/0.1709, allocations: 78.69 MB / 0.6506 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.ModularReversible.Validation.Comparative.Carnot_y): time 0.07492/0.2459, allocations: 75.39 MB / 0.7243 GB, free: 8.395 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01922/0.2652, allocations: 12.8 MB / 0.7368 GB, free: 11.56 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003345/0.2686, allocations: 67.62 kB / 0.7368 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002964/0.2716, allocations: 0.8579 MB / 0.7377 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.008305/0.28, allocations: 2.616 MB / 0.7402 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.004094/0.2841, allocations: 1.386 MB / 0.7416 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.007098/0.2912, allocations: 4.439 MB / 0.7459 GB, free: 2.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002453/0.2937, allocations: 1.441 MB / 0.7473 GB, free: 0.6953 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4383/0.732, allocations: 1.666 MB / 0.7489 GB, free: 31 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00315/0.7352, allocations: 1.213 MB / 0.7501 GB, free: 31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005466/0.7358, allocations: 168.4 kB / 0.7503 GB, free: 31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005314/0.7411, allocations: 1.404 MB / 0.7517 GB, free: 31 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006482/0.7418, allocations: 405.9 kB / 0.752 GB, free: 31 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.7438, allocations: 0.9196 MB / 0.7529 GB, free: 30.81 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006872/0.7507, allocations: 2.898 MB / 0.7558 GB, free: 30.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.7507, allocations: 0.5312 kB / 0.7558 GB, free: 30.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.414e-06/0.7507, allocations: 1 kB / 0.7558 GB, free: 30.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 7.036e-05/0.7508, allocations: 1.594 kB / 0.7558 GB, free: 30.45 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.006392/0.7572, allocations: 2.167 MB / 0.7579 GB, free: 29.35 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.7573, allocations: 9.031 kB / 0.7579 GB, free: 29.35 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001255/0.7585, allocations: 240.8 kB / 0.7581 GB, free: 29.25 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003453/0.762, allocations: 1.56 MB / 0.7597 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.707e-05/0.7621, allocations: 77.03 kB / 0.7597 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001929/0.7623, allocations: 101.5 kB / 0.7598 GB, free: 28.83 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002474/0.7648, allocations: 1.097 MB / 0.7609 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.457e-05/0.7648, allocations: 5.188 kB / 0.7609 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.765, allocations: 44.28 kB / 0.7609 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.411e-05/0.765, allocations: 26.06 kB / 0.761 GB, free: 28.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002183/0.7672, allocations: 0.8881 MB / 0.7618 GB, free: 28.69 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.008025/0.7752, allocations: 4.955 MB / 0.7667 GB, free: 26.51 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001447/0.7767, allocations: 0.5972 MB / 0.7673 GB, free: 26.48 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007675/0.7775, allocations: 345.8 kB / 0.7676 GB, free: 26.47 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004972/0.778, allocations: 0.8253 MB / 0.7684 GB, free: 25.53 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.787e-05/0.778, allocations: 43 kB / 0.7684 GB, free: 25.49 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 3.216e-06/0.7781, allocations: 4 kB / 0.7684 GB, free: 25.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007768/0.7858, allocations: 1.715 MB / 0.7701 GB, free: 25.22 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.274e-05/0.7859, allocations: 60.66 kB / 0.7702 GB, free: 25.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002395/0.7883, allocations: 1.261 MB / 0.7714 GB, free: 24.99 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002083/0.7885, allocations: 41.86 kB / 0.7714 GB, free: 24.96 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005531/0.7891, allocations: 0.6172 MB / 0.772 GB, free: 24.75 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002838/0.7894, allocations: 218.3 kB / 0.7723 GB, free: 24.61 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002728/0.7896, allocations: 159.5 kB / 0.7724 GB, free: 24.58 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.514e-05/0.7897, allocations: 332.6 kB / 0.7727 GB, free: 24.28 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007182/0.7905, allocations: 284.5 kB / 0.773 GB, free: 24.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008295/0.7913, allocations: 494.5 kB / 0.7735 GB, free: 24.05 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001319/0.7926, allocations: 0.7093 MB / 0.7742 GB, free: 23.9 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.043e-06/0.7926, allocations: 2.031 kB / 0.7742 GB, free: 23.9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004767/0.7974, allocations: 1.28 MB / 0.7754 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.393e-05/0.7975, allocations: 6.625 kB / 0.7754 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.7975, allocations: 3.281 kB / 0.7754 GB, free: 23.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007069/0.7982, allocations: 151.4 kB / 0.7756 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006902/0.7989, allocations: 161.8 kB / 0.7757 GB, free: 23.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000771/0.7997, allocations: 0.7014 MB / 0.7764 GB, free: 23.21 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.8012, allocations: 125.6 kB / 0.7765 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.023e-05/0.8013, allocations: 35.92 kB / 0.7766 GB, free: 23.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001288/0.8026, allocations: 0.5473 MB / 0.7771 GB, free: 23.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0007385/0.8034, allocations: 0.489 MB / 0.7776 GB, free: 22.86 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001236/0.8046, allocations: 0.6959 MB / 0.7783 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.337e-06/0.8046, allocations: 1.344 kB / 0.7783 GB, free: 22.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004732/0.8094, allocations: 1.271 MB / 0.7795 GB, free: 22.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.8094, allocations: 6.875 kB / 0.7795 GB, free: 22.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.198e-06/0.8094, allocations: 4.5 kB / 0.7795 GB, free: 22.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.81, allocations: 149.4 kB / 0.7796 GB, free: 22.56 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006333/0.8106, allocations: 157.4 kB / 0.7798 GB, free: 22.56 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006859/0.8113, allocations: 0.7087 MB / 0.7805 GB, free: 22.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.8128, allocations: 99.25 kB / 0.7806 GB, free: 22 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.368e-05/0.8129, allocations: 33.7 kB / 0.7806 GB, free: 22 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.0002816/0.8132, allocations: 217.5 kB / 0.7808 GB, free: 21.82 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003225/0.8135, allocations: 150.2 kB / 0.781 GB, free: 21.74 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004483/0.818, allocations: 1.265 MB / 0.7822 GB, free: 21.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003789/0.8218, allocations: 1.094 MB / 0.7833 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/0.8218, allocations: 0 / 0.7833 GB, free: 21.43 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001015/0.8229, allocations: 308.5 kB / 0.7836 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002353/0.8231, allocations: 13.59 kB / 0.7836 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007518/0.8239, allocations: 53.47 kB / 0.7836 GB, free: 21.25 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001176/0.824, allocations: 51.36 kB / 0.7837 GB, free: 21.24 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002453/0.8264, allocations: 0.9551 MB / 0.7846 GB, free: 21.09 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00222/0.8287, allocations: 1.321 MB / 0.7859 GB, free: 20.79 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006018/0.8293, allocations: 318.8 kB / 0.7862 GB, free: 20.78 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001272/0.8306, allocations: 0.8824 MB / 0.7871 GB, free: 20.67 MB / 0.5762 GB Notification: Performance of Backend: time 8.62e-07/0.8306, allocations: 0 / 0.7871 GB, free: 20.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004271/0.8349, allocations: 1.414 MB / 0.7884 GB, free: 20.47 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005055/0.8399, allocations: 3.224 MB / 0.7916 GB, free: 18.96 MB / 0.5762 GB Notification: Performance of Templates: time 0.0493/0.8893, allocations: 34.85 MB / 0.8256 GB, free: 7.398 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)