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.001459/0.001459, allocations: 116.6 kB / 17.04 MB, free: 6.133 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.00148/0.00148, allocations: 196 kB / 17.98 MB, free: 5.23 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.39/1.39, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7348/0.7348, allocations: 115.3 MB / 407.1 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001278, allocations: 68.05 kB / 0.5582 GB, free: 32.31 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.1612, allocations: 76.18 MB / 0.6326 GB, free: 4.461 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow): time 0.05845/0.2197, allocations: 61.17 MB / 0.6923 GB, free: 7.066 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01599/0.2357, allocations: 12 MB / 0.704 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002442/0.2382, allocations: 59.69 kB / 0.7041 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002108/0.2404, allocations: 0.6791 MB / 0.7048 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005981/0.2464, allocations: 1.969 MB / 0.7067 GB, free: 8.316 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003453/0.2498, allocations: 1.207 MB / 0.7079 GB, free: 7.117 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004712/0.2546, allocations: 3.079 MB / 0.7109 GB, free: 4.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002088/0.2567, allocations: 1.135 MB / 0.712 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00366/0.2603, allocations: 1.331 MB / 0.7133 GB, free: 1.523 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001902/0.2623, allocations: 0.9101 MB / 0.7142 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.000422/0.2627, allocations: 120 kB / 0.7143 GB, free: 0.4922 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00354/0.2662, allocations: 1.443 MB / 0.7157 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005374/0.2668, allocations: 298.9 kB / 0.716 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001513/0.2683, allocations: 0.6997 MB / 0.7167 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00489/0.2732, allocations: 2.337 MB / 0.7189 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.2733, allocations: 0 / 0.7189 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2733, allocations: 0 / 0.7189 GB, free: 11.71 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.389e-05/0.2733, allocations: 0 / 0.7189 GB, free: 11.71 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.004388/0.2777, allocations: 1.732 MB / 0.7206 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/0.2778, allocations: 12.03 kB / 0.7206 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002601/0.2804, allocations: 458.8 kB / 0.7211 GB, free: 9.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002837/0.2833, allocations: 1.183 MB / 0.7222 GB, free: 8.215 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-05/0.2834, allocations: 62 kB / 0.7223 GB, free: 8.152 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001986/0.2836, allocations: 80 kB / 0.7224 GB, free: 8.074 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002448/0.286, allocations: 1.002 MB / 0.7234 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.2861, allocations: 0 / 0.7234 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.288e-05/0.2862, allocations: 32 kB / 0.7234 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.019e-05/0.2862, allocations: 23.94 kB / 0.7234 GB, free: 6.988 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002653/0.2888, allocations: 0.9446 MB / 0.7243 GB, free: 6.039 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.006931/0.2958, allocations: 4.676 MB / 0.7289 GB, free: 1.016 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004006/0.2998, allocations: 0.9943 MB / 0.7299 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001085/0.3009, allocations: 404.5 kB / 0.7303 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009938/0.302, allocations: 1.021 MB / 0.7312 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.151e-05/0.302, allocations: 35 kB / 0.7313 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=53): time 2.184e-06/0.302, allocations: 7.938 kB / 0.7313 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of matching and sorting (n=53): time 0.009282/0.3113, allocations: 2.162 MB / 0.7334 GB, free: 12.13 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.3114, allocations: 63.78 kB / 0.7335 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001604/0.313, allocations: 0.9392 MB / 0.7344 GB, free: 11.1 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 9.797e-05/0.3131, allocations: 45.69 kB / 0.7344 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004513/0.3136, allocations: 0.4963 MB / 0.7349 GB, free: 10.55 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001997/0.3138, allocations: 185.3 kB / 0.7351 GB, free: 10.37 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002593/0.3141, allocations: 134.1 kB / 0.7352 GB, free: 10.23 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.3142, allocations: 322 kB / 0.7355 GB, free: 9.91 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001043/0.3152, allocations: 358.8 kB / 0.7359 GB, free: 9.555 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001169/0.3164, allocations: 0.5078 MB / 0.7364 GB, free: 8.988 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.3185, allocations: 0.7579 MB / 0.7371 GB, free: 8.195 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.374e-06/0.3185, allocations: 4 kB / 0.7371 GB, free: 8.191 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003037/0.3215, allocations: 1.053 MB / 0.7381 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.396e-05/0.3216, allocations: 8.312 kB / 0.7381 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.3216, allocations: 4 kB / 0.7381 GB, free: 7.117 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001298/0.3229, allocations: 300.5 kB / 0.7384 GB, free: 6.82 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006484/0.3235, allocations: 135.8 kB / 0.7386 GB, free: 6.688 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.325, allocations: 0.8917 MB / 0.7394 GB, free: 5.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001103/0.3261, allocations: 119.4 kB / 0.7395 GB, free: 5.652 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.268e-05/0.3262, allocations: 35.91 kB / 0.7396 GB, free: 5.617 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001453/0.3277, allocations: 0.5595 MB / 0.7401 GB, free: 5.051 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001159/0.3288, allocations: 0.5092 MB / 0.7406 GB, free: 4.48 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002018/0.3309, allocations: 0.7463 MB / 0.7413 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.5e-06/0.3309, allocations: 4 kB / 0.7414 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.00296/0.3339, allocations: 1.037 MB / 0.7424 GB, free: 2.648 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.3339, allocations: 8 kB / 0.7424 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.3339, allocations: 4 kB / 0.7424 GB, free: 2.637 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.335, allocations: 303.5 kB / 0.7427 GB, free: 2.34 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000629/0.3357, allocations: 135.8 kB / 0.7428 GB, free: 2.207 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/0.337, allocations: 0.8956 MB / 0.7437 GB, free: 1.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.3383, allocations: 111.6 kB / 0.7438 GB, free: 1.176 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001103/0.3385, allocations: 35.97 kB / 0.7438 GB, free: 1.141 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.0002847/0.3388, allocations: 215.6 kB / 0.744 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003287/0.3391, allocations: 106.7 kB / 0.7441 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.379/0.7181, allocations: 1.306 MB / 0.7454 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.854e-05/0.7182, allocations: 10.55 kB / 0.7454 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.128e-05/0.7182, allocations: 2.281 kB / 0.7454 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.327e-05/0.7183, allocations: 3.25 kB / 0.7454 GB, free: 109.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006625/0.7249, allocations: 2.391 MB / 0.7477 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.907e-06/0.7249, allocations: 2.344 kB / 0.7477 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005606/0.7255, allocations: 110.4 kB / 0.7479 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001017/0.7265, allocations: 289.4 kB / 0.7481 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.487e-05/0.7266, allocations: 23.25 kB / 0.7481 GB, free: 109.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/0.7279, allocations: 0.9207 MB / 0.749 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.7279, allocations: 2 kB / 0.7491 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004409/0.7323, allocations: 1.332 MB / 0.7504 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005091/0.7329, allocations: 275.7 kB / 0.7506 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001268/0.733, allocations: 18.02 kB / 0.7506 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008165/0.7338, allocations: 81.3 kB / 0.7507 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.7339, allocations: 36.72 kB / 0.7507 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.213e-05/0.734, allocations: 24.48 kB / 0.7508 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009871/0.735, allocations: 0.663 MB / 0.7514 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.735, allocations: 3.969 kB / 0.7514 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001728/0.7367, allocations: 0.5679 MB / 0.752 GB, free: 107.5 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.0007882/0.7375, allocations: 391.2 kB / 0.7523 GB, free: 107.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003917/0.7415, allocations: 1.297 MB / 0.7536 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.436e-06/0.7415, allocations: 0 / 0.7536 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001246/0.7427, allocations: 457.9 kB / 0.754 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002121/0.7449, allocations: 0.5003 MB / 0.7545 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004404/0.7493, allocations: 1.928 MB / 0.7564 GB, free: 105.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006987/0.75, allocations: 1.062 MB / 0.7575 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.7503, allocations: 87.75 kB / 0.7575 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of SimCode: time 5.61e-07/0.7503, allocations: 0 / 0.7575 GB, free: 105.1 MB / 0.5762 GB Notification: Performance of Templates: time 0.03298/0.7833, allocations: 24.01 MB / 0.781 GB, free: 89.23 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)