Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.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_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") translateModel(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001283/0.001283, allocations: 105.6 kB / 16.4 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.00114/0.00114, allocations: 193.2 kB / 17.34 MB, free: 5.73 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.416/1.416, allocations: 222.9 MB / 241 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.7684/0.7684, allocations: 122.9 MB / 414.1 MB, free: 15.8 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001254/0.001254, allocations: 67.14 kB / 0.5685 GB, free: 28.58 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1443, allocations: 77.93 MB / 0.6446 GB, free: 8.977 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.05891/0.2033, allocations: 61.17 MB / 0.7044 GB, free: 11.59 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01685/0.2202, allocations: 12 MB / 0.7161 GB, free: 15.56 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002221/0.2224, allocations: 63.62 kB / 0.7161 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002443/0.2249, allocations: 0.6791 MB / 0.7168 GB, free: 14.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006848/0.2318, allocations: 1.959 MB / 0.7187 GB, free: 12.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003285/0.2351, allocations: 1.208 MB / 0.7199 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004436/0.2395, allocations: 3.089 MB / 0.7229 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001969/0.2415, allocations: 1.104 MB / 0.724 GB, free: 7.418 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003301/0.2449, allocations: 1.328 MB / 0.7253 GB, free: 6.086 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001741/0.2466, allocations: 0.8945 MB / 0.7262 GB, free: 5.188 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004348/0.2471, allocations: 112 kB / 0.7263 GB, free: 5.078 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003866/0.2509, allocations: 1.47 MB / 0.7277 GB, free: 3.605 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000483/0.2514, allocations: 294.8 kB / 0.728 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00115/0.2526, allocations: 0.6842 MB / 0.7286 GB, free: 2.629 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004648/0.2572, allocations: 2.316 MB / 0.7309 GB, free: 312 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.2573, allocations: 0 / 0.7309 GB, free: 312 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2573, allocations: 0 / 0.7309 GB, free: 312 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.604e-05/0.2574, allocations: 4 kB / 0.7309 GB, free: 308 kB / 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.003479/0.2608, allocations: 1.779 MB / 0.7326 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.001e-05/0.2609, allocations: 8.625 kB / 0.7327 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001629/0.2625, allocations: 351.7 kB / 0.733 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.2647, allocations: 1.172 MB / 0.7341 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.785e-05/0.2647, allocations: 66 kB / 0.7342 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001089/0.2649, allocations: 83.98 kB / 0.7343 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/0.2667, allocations: 0.9625 MB / 0.7352 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.082e-05/0.2668, allocations: 3.938 kB / 0.7352 GB, free: 11.7 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.552e-05/0.2668, allocations: 32 kB / 0.7353 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.689e-05/0.2669, allocations: 20 kB / 0.7353 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.2688, allocations: 0.8079 MB / 0.7361 GB, free: 10.84 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.005906/0.2747, allocations: 5.138 MB / 0.7411 GB, free: 5.332 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001477/0.2762, allocations: 0.5516 MB / 0.7416 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005828/0.2768, allocations: 260.7 kB / 0.7419 GB, free: 4.516 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001325/0.2782, allocations: 1.369 MB / 0.7432 GB, free: 2.852 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.561e-05/0.2782, allocations: 38.56 kB / 0.7432 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.084e-06/0.2782, allocations: 0 / 0.7432 GB, free: 2.805 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.00771/0.2859, allocations: 1.774 MB / 0.745 GB, free: 1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.601e-05/0.286, allocations: 63.34 kB / 0.745 GB, free: 0.9258 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3043/0.5903, allocations: 1.069 MB / 0.7461 GB, free: 99.03 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001673/0.5905, allocations: 36.7 kB / 0.7461 GB, free: 99 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000435/0.591, allocations: 0.5373 MB / 0.7466 GB, free: 98.92 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001236/0.5911, allocations: 159.7 kB / 0.7468 GB, free: 98.89 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002419/0.5913, allocations: 135.2 kB / 0.7469 GB, free: 98.86 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.398e-05/0.5914, allocations: 330.4 kB / 0.7472 GB, free: 98.56 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008382/0.5923, allocations: 274.6 kB / 0.7475 GB, free: 98.55 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009872/0.5932, allocations: 0.499 MB / 0.748 GB, free: 98.29 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.5947, allocations: 0.6664 MB / 0.7486 GB, free: 98.11 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.234e-06/0.5947, allocations: 6.156 kB / 0.7486 GB, free: 98.11 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002476/0.5972, allocations: 0.9642 MB / 0.7496 GB, free: 97.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.095e-05/0.5972, allocations: 7.344 kB / 0.7496 GB, free: 97.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.272e-05/0.5973, allocations: 4.906 kB / 0.7496 GB, free: 97.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001266/0.5985, allocations: 297.2 kB / 0.7499 GB, free: 97.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005105/0.5991, allocations: 120.8 kB / 0.75 GB, free: 97.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001436/0.6005, allocations: 0.899 MB / 0.7509 GB, free: 97.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001284/0.6018, allocations: 151.2 kB / 0.751 GB, free: 97.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/0.6019, allocations: 30.8 kB / 0.751 GB, free: 97.02 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001129/0.603, allocations: 496.5 kB / 0.7515 GB, free: 96.78 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008895/0.6039, allocations: 0.4936 MB / 0.752 GB, free: 96.43 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001385/0.6053, allocations: 0.6446 MB / 0.7526 GB, free: 96.07 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.751e-06/0.6054, allocations: 1.562 kB / 0.7526 GB, free: 96.07 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002529/0.6079, allocations: 0.9483 MB / 0.7536 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.599e-05/0.6079, allocations: 8.594 kB / 0.7536 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.929e-06/0.6079, allocations: 6.016 kB / 0.7536 GB, free: 95.73 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001079/0.609, allocations: 301.6 kB / 0.7539 GB, free: 95.67 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004746/0.6095, allocations: 118.4 kB / 0.754 GB, free: 95.66 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001358/0.6109, allocations: 0.8975 MB / 0.7548 GB, free: 95.01 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001186/0.6121, allocations: 128 kB / 0.755 GB, free: 94.99 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.721e-05/0.6122, allocations: 30.69 kB / 0.755 GB, free: 94.99 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.000213/0.6124, allocations: 219.9 kB / 0.7552 GB, free: 94.79 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000201/0.6126, allocations: 120.4 kB / 0.7553 GB, free: 94.72 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003505/0.6161, allocations: 1.057 MB / 0.7564 GB, free: 94.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.578e-05/0.6161, allocations: 7.641 kB / 0.7564 GB, free: 94.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6161, allocations: 0 / 0.7564 GB, free: 94.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.626e-06/0.6162, allocations: 2.766 kB / 0.7564 GB, free: 94.38 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004634/0.6208, allocations: 2.06 MB / 0.7584 GB, free: 93.42 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.586e-06/0.6208, allocations: 2.922 kB / 0.7584 GB, free: 93.42 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002062/0.621, allocations: 56.7 kB / 0.7584 GB, free: 93.41 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009691/0.622, allocations: 301.6 kB / 0.7587 GB, free: 93.34 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.815e-05/0.6221, allocations: 16.12 kB / 0.7587 GB, free: 93.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001288/0.6234, allocations: 0.9263 MB / 0.7596 GB, free: 92.67 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.252e-06/0.6234, allocations: 7.172 kB / 0.7596 GB, free: 92.66 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003329/0.6267, allocations: 1.095 MB / 0.7607 GB, free: 92.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004577/0.6272, allocations: 265.8 kB / 0.761 GB, free: 91.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/0.6273, allocations: 10.69 kB / 0.761 GB, free: 91.96 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007474/0.6281, allocations: 68.36 kB / 0.761 GB, free: 91.95 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.6282, allocations: 36.78 kB / 0.7611 GB, free: 91.94 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.6283, allocations: 22.2 kB / 0.7611 GB, free: 91.94 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001254/0.6295, allocations: 0.7597 MB / 0.7618 GB, free: 91.61 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.6296, allocations: 1.125 kB / 0.7618 GB, free: 91.61 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001704/0.6313, allocations: 0.58 MB / 0.7624 GB, free: 91.55 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 (33): * Single equations (assignments): 28 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008291/0.6321, allocations: 403.5 kB / 0.7628 GB, free: 91.41 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002767/0.6349, allocations: 1.03 MB / 0.7638 GB, free: 91.11 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.069e-06/0.6349, allocations: 1.25 kB / 0.7638 GB, free: 91.11 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007514/0.6357, allocations: 316.7 kB / 0.7641 GB, free: 91.02 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002295/0.638, allocations: 0.5144 MB / 0.7646 GB, free: 90.87 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003005/0.641, allocations: 1.841 MB / 0.7664 GB, free: 89.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004451/0.6415, allocations: 1.065 MB / 0.7674 GB, free: 89.15 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008452/0.6423, allocations: 225.3 kB / 0.7677 GB, free: 89.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001773/0.6425, allocations: 74.41 kB / 0.7677 GB, free: 89.09 MB / 0.5762 GB Notification: Performance of SimCode: time 9.22e-07/0.6425, allocations: 0 / 0.7677 GB, free: 89.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.03225/0.6748, allocations: 25.29 MB / 0.7924 GB, free: 69.39 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity.pipe 2>&1)