Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.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_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 106.2 kB / 16.41 MB, free: 6.492 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.001251/0.001251, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.219/1.219, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6601/0.6601, allocations: 115.3 MB / 406.5 MB, free: 6.164 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 63.22 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1338, allocations: 76.19 MB / 0.6321 GB, free: 4.395 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05411/0.1879, allocations: 61.17 MB / 0.6918 GB, free: 7.004 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01513/0.2031, allocations: 12 MB / 0.7035 GB, free: 10.97 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001873/0.205, allocations: 59.62 kB / 0.7036 GB, free: 10.91 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.001679/0.2068, allocations: 0.6752 MB / 0.7043 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.004768/0.2115, allocations: 1.966 MB / 0.7062 GB, free: 8.262 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.002702/0.2142, allocations: 1.207 MB / 0.7074 GB, free: 7.059 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.003819/0.2181, allocations: 3.087 MB / 0.7104 GB, free: 3.965 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001466/0.2196, allocations: 1.104 MB / 0.7115 GB, free: 2.824 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002884/0.2225, allocations: 1.352 MB / 0.7128 GB, free: 1.469 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001322/0.2238, allocations: 0.9061 MB / 0.7137 GB, free: 0.5586 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0001698/0.224, allocations: 116 kB / 0.7138 GB, free: 456 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.2266, allocations: 1.454 MB / 0.7152 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002642/0.2268, allocations: 294.9 kB / 0.7155 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006801/0.2275, allocations: 0.692 MB / 0.7161 GB, free: 14 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003038/0.2306, allocations: 2.302 MB / 0.7184 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/0.2306, allocations: 0 / 0.7184 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.763e-06/0.2306, allocations: 0 / 0.7184 GB, free: 11.7 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.747e-05/0.2306, allocations: 0 / 0.7184 GB, free: 11.7 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002711/0.2333, allocations: 1.732 MB / 0.7201 GB, free: 9.906 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.523e-05/0.2334, allocations: 15.97 kB / 0.7201 GB, free: 9.891 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002051/0.2354, allocations: 398.9 kB / 0.7205 GB, free: 9.5 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001902/0.2374, allocations: 1.171 MB / 0.7216 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.2374, allocations: 62 kB / 0.7217 GB, free: 8.211 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001117/0.2375, allocations: 84 kB / 0.7218 GB, free: 8.129 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001871/0.2394, allocations: 0.9976 MB / 0.7227 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.2394, allocations: 4 kB / 0.7227 GB, free: 7.066 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.341e-05/0.2395, allocations: 35.98 kB / 0.7228 GB, free: 7.031 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.601e-05/0.2395, allocations: 20 kB / 0.7228 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002097/0.2416, allocations: 0.8547 MB / 0.7236 GB, free: 6.16 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.005777/0.2474, allocations: 5.231 MB / 0.7287 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00317/0.2506, allocations: 0.7969 MB / 0.7295 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006893/0.2513, allocations: 300.7 kB / 0.7298 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006416/0.252, allocations: 0.9064 MB / 0.7307 GB, free: 14.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.252, allocations: 34.56 kB / 0.7307 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 2.505e-06/0.252, allocations: 0 / 0.7307 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.007958/0.26, allocations: 1.867 MB / 0.7325 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/0.26, allocations: 59.39 kB / 0.7326 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001473/0.2615, allocations: 1.076 MB / 0.7336 GB, free: 11.24 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.263e-05/0.2616, allocations: 37.7 kB / 0.7337 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003887/0.262, allocations: 0.5273 MB / 0.7342 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.2621, allocations: 153.8 kB / 0.7343 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002092/0.2623, allocations: 134.2 kB / 0.7345 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001292/0.2625, allocations: 333.9 kB / 0.7348 GB, free: 10.04 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008434/0.2633, allocations: 311.2 kB / 0.7351 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00102/0.2644, allocations: 0.5251 MB / 0.7356 GB, free: 9.113 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001572/0.2659, allocations: 0.7145 MB / 0.7363 GB, free: 8.332 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.34e-06/0.266, allocations: 4 kB / 0.7363 GB, free: 8.328 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003326/0.2693, allocations: 1.141 MB / 0.7374 GB, free: 7.176 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.489e-05/0.2693, allocations: 4 kB / 0.7374 GB, free: 7.172 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.243e-05/0.2693, allocations: 15.97 kB / 0.7374 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001148/0.2705, allocations: 310.9 kB / 0.7377 GB, free: 6.852 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005093/0.271, allocations: 127.8 kB / 0.7379 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001319/0.2723, allocations: 0.8996 MB / 0.7387 GB, free: 5.801 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/0.2734, allocations: 155.2 kB / 0.7389 GB, free: 5.648 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.2735, allocations: 35.98 kB / 0.7389 GB, free: 5.613 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001091/0.2746, allocations: 0.5129 MB / 0.7394 GB, free: 5.098 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009905/0.2756, allocations: 0.529 MB / 0.7399 GB, free: 4.469 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001537/0.2771, allocations: 0.6978 MB / 0.7406 GB, free: 3.703 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.474e-06/0.2772, allocations: 4 kB / 0.7406 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003189/0.2803, allocations: 1.122 MB / 0.7417 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.21e-05/0.2804, allocations: 13.66 kB / 0.7417 GB, free: 2.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.2804, allocations: 4 kB / 0.7417 GB, free: 2.551 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009826/0.2814, allocations: 300.7 kB / 0.742 GB, free: 2.254 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004946/0.2819, allocations: 127.8 kB / 0.7421 GB, free: 2.129 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001271/0.2832, allocations: 0.9063 MB / 0.743 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001058/0.2842, allocations: 131.6 kB / 0.7432 GB, free: 1.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.644e-05/0.2843, allocations: 31.98 kB / 0.7432 GB, free: 1.039 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (57): * Single equations (assignments): 56 * 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.0001958/0.2845, allocations: 216.7 kB / 0.7434 GB, free: 0.8203 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.2847, allocations: 122.5 kB / 0.7435 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2741/0.5588, allocations: 1.095 MB / 0.7446 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.15e-05/0.5589, allocations: 6.297 kB / 0.7446 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.481e-06/0.5589, allocations: 1.531 kB / 0.7446 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.114e-05/0.5589, allocations: 3.172 kB / 0.7446 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005422/0.5643, allocations: 2.18 MB / 0.7467 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.966e-06/0.5643, allocations: 3.422 kB / 0.7467 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002705/0.5646, allocations: 69.62 kB / 0.7468 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009487/0.5656, allocations: 292.7 kB / 0.7471 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.71e-05/0.5656, allocations: 18.61 kB / 0.7471 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001258/0.5669, allocations: 0.9271 MB / 0.748 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/0.5669, allocations: 2.281 kB / 0.748 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003469/0.5704, allocations: 1.177 MB / 0.7491 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000375/0.5708, allocations: 268.3 kB / 0.7494 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001383/0.5709, allocations: 13.05 kB / 0.7494 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008026/0.5717, allocations: 70.05 kB / 0.7495 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.718e-05/0.5718, allocations: 41.25 kB / 0.7495 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.12e-05/0.5719, allocations: 24.31 kB / 0.7495 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001079/0.573, allocations: 0.7515 MB / 0.7503 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.8e-07/0.573, allocations: 0.9062 kB / 0.7503 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001476/0.5744, allocations: 0.5704 MB / 0.7508 GB, free: 107.3 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.0007109/0.5752, allocations: 381.3 kB / 0.7512 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002868/0.578, allocations: 1.129 MB / 0.7523 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.206e-06/0.5781, allocations: 0 / 0.7523 GB, free: 106.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007935/0.5789, allocations: 355.4 kB / 0.7526 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.002022/0.5809, allocations: 0.5132 MB / 0.7531 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004729/0.5856, allocations: 2.014 MB / 0.7551 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006464/0.5863, allocations: 1.069 MB / 0.7561 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0007917/0.5871, allocations: 229.1 kB / 0.7564 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001753/0.5873, allocations: 75.42 kB / 0.7564 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.5873, allocations: 0 / 0.7564 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.03021/0.6175, allocations: 25.29 MB / 0.7811 GB, free: 88.16 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL.pipe 2>&1)