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) 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.Validation.Carnot_TCon_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,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=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001298/0.001298, allocations: 113.7 kB / 17.08 MB, free: 6 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.00133/0.00133, allocations: 195 kB / 18.02 MB, free: 5.082 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.411/1.411, 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.7849/0.7849, allocations: 115.3 MB / 407.2 MB, free: 6.207 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001269/0.001269, allocations: 70.02 kB / 0.5583 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1624, allocations: 76.19 MB / 0.6327 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05926/0.2217, allocations: 61.17 MB / 0.6925 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01708/0.2388, allocations: 11.99 MB / 0.7042 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002839/0.2417, allocations: 59.62 kB / 0.7042 GB, free: 10.92 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.244, allocations: 0.6713 MB / 0.7049 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006302/0.2503, allocations: 1.974 MB / 0.7068 GB, free: 8.258 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.2536, allocations: 1.207 MB / 0.708 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004814/0.2585, allocations: 3.091 MB / 0.711 GB, free: 3.957 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001952/0.2605, allocations: 1.128 MB / 0.7121 GB, free: 2.793 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003399/0.2639, allocations: 1.358 MB / 0.7134 GB, free: 1.434 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001495/0.2654, allocations: 0.914 MB / 0.7143 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001871/0.2656, allocations: 120 kB / 0.7145 GB, free: 408 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002952/0.2685, allocations: 1.443 MB / 0.7159 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003338/0.2689, allocations: 302.8 kB / 0.7161 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008161/0.2697, allocations: 0.6958 MB / 0.7168 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003704/0.2734, allocations: 2.322 MB / 0.7191 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.965e-06/0.2734, allocations: 0 / 0.7191 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.004e-06/0.2735, allocations: 0 / 0.7191 GB, free: 11.63 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.234e-05/0.2735, allocations: 0 / 0.7191 GB, free: 11.63 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.003409/0.2769, allocations: 1.738 MB / 0.7208 GB, free: 9.828 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.38e-05/0.2769, allocations: 8.031 kB / 0.7208 GB, free: 9.82 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002593/0.2795, allocations: 454.8 kB / 0.7212 GB, free: 9.375 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.2819, allocations: 1.179 MB / 0.7224 GB, free: 8.141 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.305e-05/0.282, allocations: 66 kB / 0.7224 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001225/0.2821, allocations: 84 kB / 0.7225 GB, free: 7.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002186/0.2843, allocations: 1.002 MB / 0.7235 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.698e-05/0.2843, allocations: 0 / 0.7235 GB, free: 6.961 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.284e-05/0.2844, allocations: 32 kB / 0.7235 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.66e-05/0.2844, allocations: 16 kB / 0.7236 GB, free: 6.914 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00252/0.287, allocations: 0.9407 MB / 0.7245 GB, free: 5.973 MB / 0.5606 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.006384/0.2934, allocations: 4.684 MB / 0.729 GB, free: 0.9414 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004073/0.2975, allocations: 0.9818 MB / 0.73 GB, free: 15.95 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001156/0.2986, allocations: 419 kB / 0.7304 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001178/0.2998, allocations: 1.017 MB / 0.7314 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.12e-05/0.2999, allocations: 39 kB / 0.7314 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 3.397e-06/0.2999, allocations: 0 / 0.7314 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.01001/0.3099, allocations: 2.162 MB / 0.7335 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.542e-05/0.31, allocations: 59.78 kB / 0.7336 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.3117, allocations: 0.9431 MB / 0.7345 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.776e-05/0.3118, allocations: 37.7 kB / 0.7346 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006302/0.3124, allocations: 0.5041 MB / 0.7351 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002188/0.3127, allocations: 185.3 kB / 0.7352 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002228/0.3129, allocations: 130.1 kB / 0.7354 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002201/0.3131, allocations: 330 kB / 0.7357 GB, free: 9.836 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001034/0.3142, allocations: 346.9 kB / 0.736 GB, free: 9.492 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001193/0.3154, allocations: 0.5233 MB / 0.7365 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002269/0.3176, allocations: 0.7541 MB / 0.7372 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.971e-06/0.3177, allocations: 0 / 0.7372 GB, free: 8.121 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003247/0.3209, allocations: 1.06 MB / 0.7383 GB, free: 7.051 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.54e-05/0.3209, allocations: 6.031 kB / 0.7383 GB, free: 7.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.097e-05/0.321, allocations: 4 kB / 0.7383 GB, free: 7.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001364/0.3223, allocations: 308.8 kB / 0.7386 GB, free: 6.738 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006415/0.323, allocations: 135.7 kB / 0.7387 GB, free: 6.605 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001585/0.3246, allocations: 0.8983 MB / 0.7396 GB, free: 5.684 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/0.3257, allocations: 119.4 kB / 0.7397 GB, free: 5.566 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.736e-05/0.3258, allocations: 31.98 kB / 0.7397 GB, free: 5.535 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001507/0.3273, allocations: 0.5594 MB / 0.7403 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001128/0.3284, allocations: 0.5078 MB / 0.7408 GB, free: 4.398 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002241/0.3307, allocations: 0.7501 MB / 0.7415 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.545e-06/0.3307, allocations: 0 / 0.7415 GB, free: 3.613 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.003215/0.3339, allocations: 1.041 MB / 0.7425 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.605e-05/0.334, allocations: 11.94 kB / 0.7425 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.334, allocations: 0 / 0.7425 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001082/0.3351, allocations: 296.8 kB / 0.7428 GB, free: 2.258 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000623/0.3357, allocations: 127.8 kB / 0.7429 GB, free: 2.133 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00172/0.3374, allocations: 0.8956 MB / 0.7438 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.3385, allocations: 107.7 kB / 0.7439 GB, free: 1.105 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.482e-05/0.3386, allocations: 31.97 kB / 0.744 GB, free: 1.074 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * 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.000269/0.3389, allocations: 224.1 kB / 0.7442 GB, free: 0.8477 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001921/0.3391, allocations: 106.7 kB / 0.7443 GB, free: 0.7422 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3391/0.6782, allocations: 1.3 MB / 0.7455 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.561e-05/0.6783, allocations: 7.109 kB / 0.7455 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.827e-06/0.6783, allocations: 0.5312 kB / 0.7455 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.731e-05/0.6783, allocations: 4.156 kB / 0.7455 GB, free: 109.4 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006686/0.685, allocations: 2.397 MB / 0.7479 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.194e-05/0.685, allocations: 2.156 kB / 0.7479 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005889/0.6856, allocations: 107.4 kB / 0.748 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.6867, allocations: 290 kB / 0.7483 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.702e-05/0.6868, allocations: 18.5 kB / 0.7483 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001398/0.6882, allocations: 0.9248 MB / 0.7492 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.73e-06/0.6882, allocations: 7.047 kB / 0.7492 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004626/0.6928, allocations: 1.327 MB / 0.7505 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005162/0.6934, allocations: 280.8 kB / 0.7508 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001603/0.6935, allocations: 20 kB / 0.7508 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008939/0.6944, allocations: 79.06 kB / 0.7509 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001167/0.6946, allocations: 41.55 kB / 0.7509 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.709e-05/0.6946, allocations: 26.22 kB / 0.7509 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001041/0.6957, allocations: 0.662 MB / 0.7516 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6957, allocations: 0 / 0.7516 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001743/0.6975, allocations: 0.5716 MB / 0.7521 GB, free: 107.4 MB / 0.5762 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.0007852/0.6982, allocations: 384.1 kB / 0.7525 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003805/0.7021, allocations: 1.304 MB / 0.7538 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.7021, allocations: 3.438 kB / 0.7538 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001361/0.7035, allocations: 454.3 kB / 0.7542 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002466/0.7059, allocations: 0.4997 MB / 0.7547 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004516/0.7105, allocations: 1.914 MB / 0.7566 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000624/0.7111, allocations: 1.064 MB / 0.7576 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003914/0.7115, allocations: 88.2 kB / 0.7577 GB, free: 105 MB / 0.5762 GB Notification: Performance of SimCode: time 1.172e-06/0.7116, allocations: 0 / 0.7577 GB, free: 105 MB / 0.5762 GB Notification: Performance of Templates: time 0.03196/0.7435, allocations: 24.12 MB / 0.7812 GB, free: 88.99 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.makefile (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)