Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001264/0.001264, allocations: 117 kB / 17.09 MB, free: 5.938 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.001284/0.001284, allocations: 198.9 kB / 18.02 MB, free: 5.023 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.351/1.351, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7222/0.7222, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 64.2 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1431/0.1444, allocations: 76.18 MB / 0.6327 GB, free: 4.422 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.05558/0.2, allocations: 61.14 MB / 0.6924 GB, free: 7.062 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01651/0.2166, allocations: 11.99 MB / 0.7041 GB, free: 11.04 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002477/0.2191, allocations: 59.62 kB / 0.7042 GB, free: 10.98 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002187/0.2213, allocations: 0.6713 MB / 0.7049 GB, free: 10.3 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006057/0.2274, allocations: 1.967 MB / 0.7068 GB, free: 8.324 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.2308, allocations: 1.21 MB / 0.708 GB, free: 7.121 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004569/0.2354, allocations: 3.083 MB / 0.711 GB, free: 4.027 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001662/0.2371, allocations: 1.1 MB / 0.712 GB, free: 2.891 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003409/0.2405, allocations: 1.358 MB / 0.7134 GB, free: 1.531 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001654/0.2422, allocations: 0.9041 MB / 0.7142 GB, free: 0.625 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0002114/0.2424, allocations: 116 kB / 0.7144 GB, free: 0.5117 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002881/0.2453, allocations: 1.439 MB / 0.7158 GB, free: 15.07 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002788/0.2456, allocations: 290.9 kB / 0.716 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0008207/0.2464, allocations: 0.6958 MB / 0.7167 GB, free: 14.09 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003504/0.2499, allocations: 2.286 MB / 0.719 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.2499, allocations: 0 / 0.719 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2499, allocations: 0 / 0.719 GB, free: 11.79 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.536e-05/0.25, allocations: 0 / 0.719 GB, free: 11.79 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.002912/0.2529, allocations: 1.726 MB / 0.7206 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.2529, allocations: 8.031 kB / 0.7206 GB, free: 10 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00215/0.2551, allocations: 410.8 kB / 0.721 GB, free: 9.598 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002174/0.2573, allocations: 1.167 MB / 0.7222 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.748e-05/0.2574, allocations: 62 kB / 0.7222 GB, free: 8.312 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001124/0.2575, allocations: 80 kB / 0.7223 GB, free: 8.234 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002028/0.2595, allocations: 0.9976 MB / 0.7233 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.836e-05/0.2595, allocations: 3.938 kB / 0.7233 GB, free: 7.172 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.942e-05/0.2596, allocations: 32 kB / 0.7233 GB, free: 7.141 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.2597, allocations: 24 kB / 0.7233 GB, free: 7.117 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002151/0.2618, allocations: 0.8547 MB / 0.7242 GB, free: 6.266 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.006552/0.2684, allocations: 5.219 MB / 0.7293 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003341/0.2717, allocations: 0.7931 MB / 0.7301 GB, free: 15.87 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006887/0.2724, allocations: 294.7 kB / 0.7303 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006366/0.2731, allocations: 0.9025 MB / 0.7312 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.654e-05/0.2731, allocations: 38.56 kB / 0.7313 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 5.179e-06/0.2731, allocations: 4 kB / 0.7313 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008383/0.2815, allocations: 1.852 MB / 0.7331 GB, free: 12.54 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.966e-05/0.2816, allocations: 55.41 kB / 0.7331 GB, free: 12.48 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/0.2832, allocations: 1.079 MB / 0.7342 GB, free: 11.38 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.742e-05/0.2833, allocations: 33.7 kB / 0.7342 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004037/0.2837, allocations: 0.535 MB / 0.7347 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001314/0.2838, allocations: 153.8 kB / 0.7349 GB, free: 10.65 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002163/0.2841, allocations: 134.2 kB / 0.735 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001111/0.2842, allocations: 330 kB / 0.7353 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008564/0.285, allocations: 307.3 kB / 0.7356 GB, free: 9.883 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001045/0.2861, allocations: 0.5385 MB / 0.7361 GB, free: 9.242 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001613/0.2877, allocations: 0.7136 MB / 0.7368 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.2877, allocations: 0 / 0.7368 GB, free: 8.453 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002694/0.2904, allocations: 1.012 MB / 0.7378 GB, free: 7.43 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.2905, allocations: 8 kB / 0.7378 GB, free: 7.422 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.311e-05/0.2905, allocations: 8 kB / 0.7378 GB, free: 7.414 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001248/0.2918, allocations: 320.7 kB / 0.7381 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005507/0.2923, allocations: 127.8 kB / 0.7383 GB, free: 6.973 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001386/0.2937, allocations: 0.9023 MB / 0.7391 GB, free: 6.047 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.2949, allocations: 155.2 kB / 0.7393 GB, free: 5.895 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.888e-05/0.295, allocations: 31.98 kB / 0.7393 GB, free: 5.863 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001174/0.2962, allocations: 0.5085 MB / 0.7398 GB, free: 5.355 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009997/0.2972, allocations: 0.5307 MB / 0.7403 GB, free: 4.723 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001581/0.2988, allocations: 0.7061 MB / 0.741 GB, free: 3.945 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.638e-06/0.2988, allocations: 4 kB / 0.741 GB, free: 3.941 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002611/0.3014, allocations: 1.004 MB / 0.742 GB, free: 2.926 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.696e-05/0.3015, allocations: 11.94 kB / 0.742 GB, free: 2.914 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3015, allocations: 4 kB / 0.742 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00105/0.3025, allocations: 296.7 kB / 0.7423 GB, free: 2.617 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005217/0.3031, allocations: 127.8 kB / 0.7424 GB, free: 2.492 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001308/0.3044, allocations: 0.8942 MB / 0.7433 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001208/0.3056, allocations: 135.5 kB / 0.7434 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.224e-05/0.3057, allocations: 31.98 kB / 0.7435 GB, free: 1.41 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002513/0.3059, allocations: 228 kB / 0.7437 GB, free: 1.18 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001908/0.3061, allocations: 106.7 kB / 0.7438 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3431/0.6492, allocations: 1.081 MB / 0.7448 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.759e-05/0.6493, allocations: 6.297 kB / 0.7448 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.31e-05/0.6494, allocations: 8.719 kB / 0.7449 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.097e-05/0.6494, allocations: 2.859 kB / 0.7449 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006064/0.6555, allocations: 2.142 MB / 0.7469 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.179e-05/0.6555, allocations: 2.188 kB / 0.7469 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002997/0.6558, allocations: 66.09 kB / 0.747 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001031/0.6568, allocations: 290.3 kB / 0.7473 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.431e-05/0.6569, allocations: 16.28 kB / 0.7473 GB, free: 108.7 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001391/0.6583, allocations: 0.9292 MB / 0.7482 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.833e-06/0.6583, allocations: 8.438 kB / 0.7482 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003778/0.6621, allocations: 1.143 MB / 0.7493 GB, free: 107.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005204/0.6626, allocations: 260.8 kB / 0.7496 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001645/0.6628, allocations: 17.89 kB / 0.7496 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008164/0.6636, allocations: 67.44 kB / 0.7497 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001006/0.6637, allocations: 41.64 kB / 0.7497 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.873e-05/0.6638, allocations: 27.33 kB / 0.7497 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.00139/0.6652, allocations: 0.7504 MB / 0.7505 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3e-07/0.6652, allocations: 0 / 0.7505 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001907/0.6671, allocations: 0.5695 MB / 0.751 GB, free: 107.2 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 {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009378/0.6681, allocations: 374.8 kB / 0.7514 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003423/0.6715, allocations: 1.135 MB / 0.7525 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 8.506e-06/0.6715, allocations: 0 / 0.7525 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008972/0.6724, allocations: 340 kB / 0.7528 GB, free: 106.7 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002638/0.6751, allocations: 0.5136 MB / 0.7533 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005531/0.6806, allocations: 2.031 MB / 0.7553 GB, free: 105.6 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/0.6815, allocations: 1.066 MB / 0.7563 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004094/0.682, allocations: 83 kB / 0.7564 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of SimCode: time 1.092e-06/0.682, allocations: 0 / 0.7564 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.03349/0.7155, allocations: 24.13 MB / 0.78 GB, free: 89.83 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)