Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001387/0.001387, allocations: 112 kB / 17.33 MB, free: 5.043 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.002606/0.002606, allocations: 201.9 kB / 18.33 MB, free: 4.055 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.461/1.461, allocations: 225.6 MB / 244.8 MB, free: 13.62 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8452/0.8452, allocations: 128.4 MB / 426.1 MB, free: 7.152 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001981/0.001981, allocations: 62.05 kB / 0.5912 GB, free: 21.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1795/0.1815, allocations: 83.25 MB / 0.6725 GB, free: 3.859 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.08719/0.2687, allocations: 74.46 MB / 0.7452 GB, free: 9.156 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.5152/0.7839, allocations: 13.76 MB / 0.7586 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005103/0.789, allocations: 71.86 kB / 0.7587 GB, free: 17.8 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004374/0.7933, allocations: 0.8008 MB / 0.7595 GB, free: 17.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01311/0.8065, allocations: 2.322 MB / 0.7617 GB, free: 17.7 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0088/0.8153, allocations: 1.701 MB / 0.7634 GB, free: 17.66 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.01107/0.8263, allocations: 3.72 MB / 0.767 GB, free: 17.65 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004412/0.8307, allocations: 1.076 MB / 0.7681 GB, free: 17.55 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008894/0.8396, allocations: 1.844 MB / 0.7699 GB, free: 17.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004339/0.844, allocations: 1.149 MB / 0.771 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0009519/0.8449, allocations: 144 kB / 0.7711 GB, free: 17.27 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007999/0.8529, allocations: 1.704 MB / 0.7728 GB, free: 17.24 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.8541, allocations: 361.4 kB / 0.7731 GB, free: 17.17 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003453/0.8575, allocations: 0.8506 MB / 0.774 GB, free: 16.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01005/0.8676, allocations: 2.747 MB / 0.7767 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.8676, allocations: 1 kB / 0.7767 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.072e-06/0.8676, allocations: 0 / 0.7767 GB, free: 16.56 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001021/0.8677, allocations: 0 / 0.7767 GB, free: 16.56 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: 242 * Number of variables: 242 Notification: Performance of Generate backend data structure: time 0.008381/0.8761, allocations: 2.066 MB / 0.7787 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.042e-05/0.8761, allocations: 8.719 kB / 0.7787 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004697/0.8808, allocations: 0.4895 MB / 0.7792 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005425/0.8862, allocations: 1.345 MB / 0.7805 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001684/0.8864, allocations: 76.94 kB / 0.7805 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005146/0.8869, allocations: 102.4 kB / 0.7806 GB, free: 14.91 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005212/0.8921, allocations: 1.199 MB / 0.7818 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.356e-05/0.8922, allocations: 4.406 kB / 0.7818 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002387/0.8924, allocations: 39.72 kB / 0.7819 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.8925, allocations: 28.78 kB / 0.7819 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005259/0.8977, allocations: 1.062 MB / 0.7829 GB, free: 14.68 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.01234/0.9101, allocations: 6.338 MB / 0.7891 GB, free: 10.98 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004415/0.9145, allocations: 0.8788 MB / 0.79 GB, free: 10.94 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001879/0.9164, allocations: 434.6 kB / 0.7904 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001727/0.9181, allocations: 1.67 MB / 0.792 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.616e-05/0.9181, allocations: 44.59 kB / 0.7921 GB, free: 9.004 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=65): time 3.687e-06/0.9181, allocations: 4 kB / 0.7921 GB, free: 9 MB / 0.5762 GB Notification: Performance of matching and sorting (n=65): time 0.01534/0.9335, allocations: 2.287 MB / 0.7943 GB, free: 8.473 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.729e-05/0.9335, allocations: 58.47 kB / 0.7944 GB, free: 8.406 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003119/0.9366, allocations: 1.12 MB / 0.7954 GB, free: 7.828 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001959/0.9368, allocations: 41.11 kB / 0.7955 GB, free: 7.789 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006059/0.9374, allocations: 0.6252 MB / 0.7961 GB, free: 7.234 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003395/0.9378, allocations: 240.7 kB / 0.7963 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004722/0.9382, allocations: 159.7 kB / 0.7965 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.192e-05/0.9383, allocations: 331.2 kB / 0.7968 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001629/0.94, allocations: 401.2 kB / 0.7972 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.9418, allocations: 0.6188 MB / 0.7978 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003129/0.9449, allocations: 0.9123 MB / 0.7987 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.917e-06/0.9449, allocations: 2.562 kB / 0.7987 GB, free: 5.418 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.006672/0.9516, allocations: 1.354 MB / 0.8 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.9516, allocations: 15.03 kB / 0.8 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.689e-05/0.9516, allocations: 2.812 kB / 0.8 GB, free: 4.781 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001932/0.9536, allocations: 304 kB / 0.8003 GB, free: 4.645 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001337/0.9549, allocations: 171.8 kB / 0.8005 GB, free: 4.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00191/0.9568, allocations: 0.9014 MB / 0.8013 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002165/0.959, allocations: 142.9 kB / 0.8015 GB, free: 3.805 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/0.9592, allocations: 36.11 kB / 0.8015 GB, free: 3.797 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002356/0.9615, allocations: 0.6185 MB / 0.8021 GB, free: 3.434 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001936/0.9635, allocations: 0.6036 MB / 0.8027 GB, free: 2.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003151/0.9666, allocations: 0.9095 MB / 0.8036 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 6.943e-06/0.9666, allocations: 0 / 0.8036 GB, free: 2.441 MB / 0.5762 GB Notification: Performance of matching and sorting (n=89) (initialization_lambda0): time 0.006627/0.9733, allocations: 1.361 MB / 0.8049 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.106e-05/0.9733, allocations: 5.594 kB / 0.8049 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.147e-05/0.9733, allocations: 2.469 kB / 0.8049 GB, free: 1.793 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00177/0.9751, allocations: 303.4 kB / 0.8052 GB, free: 1.656 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001263/0.9763, allocations: 170.1 kB / 0.8054 GB, free: 1.621 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00206/0.9784, allocations: 0.8941 MB / 0.8063 GB, free: 0.9062 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002263/0.9806, allocations: 129.4 kB / 0.8064 GB, free: 0.8359 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000198/0.9808, allocations: 40.33 kB / 0.8064 GB, free: 0.8203 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (75): * Single equations (assignments): 74 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000392/0.9812, allocations: 230.4 kB / 0.8066 GB, free: 0.6094 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006898/0.9819, allocations: 135 kB / 0.8068 GB, free: 0.5391 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008336/0.9903, allocations: 1.706 MB / 0.8084 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-05/0.9903, allocations: 7.75 kB / 0.8084 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.299e-05/0.9903, allocations: 2.906 kB / 0.8084 GB, free: 15.63 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.958e-05/0.9903, allocations: 11.97 kB / 0.8085 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01244/1.003, allocations: 2.874 MB / 0.8113 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-05/1.003, allocations: 2.531 kB / 0.8113 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.004, allocations: 125.4 kB / 0.8114 GB, free: 13.74 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001644/1.005, allocations: 291.5 kB / 0.8117 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001125/1.006, allocations: 19.92 kB / 0.8117 GB, free: 13.59 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002506/1.008, allocations: 0.9351 MB / 0.8126 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/1.008, allocations: 3.156 kB / 0.8126 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007953/1.016, allocations: 1.579 MB / 0.8141 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001315/1.017, allocations: 339.7 kB / 0.8145 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005663/1.018, allocations: 13.25 kB / 0.8145 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002023/1.02, allocations: 87.05 kB / 0.8146 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001816/1.02, allocations: 50.19 kB / 0.8146 GB, free: 11.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001416/1.02, allocations: 38.06 kB / 0.8146 GB, free: 11.57 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002376/1.023, allocations: 0.7713 MB / 0.8154 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.4e-07/1.023, allocations: 0 / 0.8154 GB, free: 11.14 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.004195/1.027, allocations: 0.7374 MB / 0.8161 GB, free: 10.77 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 simulation (62): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 11 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001852/1.029, allocations: 495.3 kB / 0.8166 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.006953/1.036, allocations: 1.499 MB / 0.8181 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/1.036, allocations: 0 / 0.8181 GB, free: 8.871 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.002196/1.038, allocations: 0.5309 MB / 0.8186 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004679/1.043, allocations: 0.6231 MB / 0.8192 GB, free: 7.746 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006799/1.049, allocations: 2.329 MB / 0.8215 GB, free: 5.395 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001668/1.051, allocations: 1.162 MB / 0.8226 GB, free: 4.203 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001634/1.053, allocations: 324.3 kB / 0.8229 GB, free: 3.891 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004429/1.053, allocations: 107.4 kB / 0.823 GB, free: 3.785 MB / 0.5919 GB Notification: Performance of SimCode: time 1.242e-06/1.053, allocations: 4 kB / 0.823 GB, free: 3.781 MB / 0.5919 GB Notification: Performance of Templates: time 0.05905/1.112, allocations: 31.3 MB / 0.8536 GB, free: 4.926 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1) [Timeout 480]