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.001611/0.001611, allocations: 119.2 kB / 17.09 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.001641/0.001641, allocations: 192.7 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.386/1.386, allocations: 222.9 MB / 241.7 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.7836/0.7836, allocations: 115.3 MB / 407.2 MB, free: 6.203 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001297/0.001297, allocations: 60.19 kB / 0.5583 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1768, allocations: 76.18 MB / 0.6327 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_LimitedCapacity): time 0.07376/0.2507, allocations: 61.17 MB / 0.6925 GB, free: 7.059 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02019/0.2709, allocations: 12 MB / 0.7042 GB, free: 11.03 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00299/0.2739, allocations: 63.62 kB / 0.7043 GB, free: 10.96 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00272/0.2767, allocations: 0.6752 MB / 0.7049 GB, free: 10.29 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.006911/0.2837, allocations: 1.967 MB / 0.7068 GB, free: 8.309 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003931/0.2877, allocations: 1.21 MB / 0.708 GB, free: 7.105 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.005553/0.2932, allocations: 3.097 MB / 0.711 GB, free: 4 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002287/0.2956, allocations: 1.088 MB / 0.7121 GB, free: 2.875 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004221/0.2998, allocations: 1.358 MB / 0.7134 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002192/0.302, allocations: 0.9022 MB / 0.7143 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005046/0.3025, allocations: 116 kB / 0.7144 GB, free: 0.4961 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003718/0.3063, allocations: 1.454 MB / 0.7158 GB, free: 15.04 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0005823/0.3069, allocations: 294.9 kB / 0.7161 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.00158/0.3085, allocations: 0.6919 MB / 0.7168 GB, free: 14.05 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005251/0.3137, allocations: 2.306 MB / 0.7191 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.3138, allocations: 4 kB / 0.7191 GB, free: 11.74 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.545e-06/0.3138, allocations: 4 kB / 0.7191 GB, free: 11.73 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.281e-05/0.3139, allocations: 0 / 0.7191 GB, free: 11.73 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.004527/0.3184, allocations: 1.73 MB / 0.7207 GB, free: 9.945 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.904e-05/0.3185, allocations: 8.031 kB / 0.7208 GB, free: 9.938 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001938/0.3204, allocations: 339 kB / 0.7211 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002871/0.3233, allocations: 1.159 MB / 0.7222 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.612e-05/0.3234, allocations: 70 kB / 0.7223 GB, free: 8.32 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000195/0.3236, allocations: 80 kB / 0.7224 GB, free: 8.242 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002272/0.3259, allocations: 0.9702 MB / 0.7233 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.955e-05/0.3259, allocations: 0 / 0.7233 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001029/0.326, allocations: 32 kB / 0.7233 GB, free: 7.18 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.057e-05/0.3261, allocations: 27.94 kB / 0.7234 GB, free: 7.152 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002209/0.3283, allocations: 0.8001 MB / 0.7241 GB, free: 6.355 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.007683/0.336, allocations: 5.125 MB / 0.7291 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0016/0.3376, allocations: 0.5657 MB / 0.7297 GB, free: 288 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000604/0.3382, allocations: 266.5 kB / 0.73 GB, free: 20 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/0.3397, allocations: 1.373 MB / 0.7313 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.848e-05/0.3398, allocations: 38.55 kB / 0.7313 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.585e-06/0.3398, allocations: 0 / 0.7313 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.008109/0.3479, allocations: 1.758 MB / 0.733 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.398e-05/0.348, allocations: 59.39 kB / 0.7331 GB, free: 12.45 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002109/0.3502, allocations: 1.076 MB / 0.7342 GB, free: 11.36 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001115/0.3503, allocations: 37.7 kB / 0.7342 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000518/0.3508, allocations: 0.5311 MB / 0.7347 GB, free: 10.78 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.00017/0.351, allocations: 157.8 kB / 0.7349 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002751/0.3513, allocations: 134.2 kB / 0.735 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001432/0.3514, allocations: 326 kB / 0.7353 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008066/0.3522, allocations: 275.3 kB / 0.7356 GB, free: 9.887 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001001/0.3533, allocations: 0.5017 MB / 0.736 GB, free: 9.285 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00149/0.3548, allocations: 0.6558 MB / 0.7367 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.608e-06/0.3548, allocations: 0 / 0.7367 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002654/0.3574, allocations: 0.9616 MB / 0.7376 GB, free: 7.59 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.43e-05/0.3575, allocations: 8 kB / 0.7376 GB, free: 7.582 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.616e-05/0.3575, allocations: 4 kB / 0.7376 GB, free: 7.578 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001311/0.3588, allocations: 304.7 kB / 0.7379 GB, free: 7.277 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004781/0.3593, allocations: 115.8 kB / 0.738 GB, free: 7.164 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001559/0.3609, allocations: 0.9059 MB / 0.7389 GB, free: 6.234 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001313/0.3622, allocations: 143.2 kB / 0.7391 GB, free: 6.094 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.3623, allocations: 32 kB / 0.7391 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001183/0.3635, allocations: 493.2 kB / 0.7396 GB, free: 5.578 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009668/0.3645, allocations: 0.4939 MB / 0.74 GB, free: 4.984 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001436/0.3659, allocations: 0.6549 MB / 0.7407 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.235e-06/0.3659, allocations: 0 / 0.7407 GB, free: 4.262 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002684/0.3686, allocations: 0.9382 MB / 0.7416 GB, free: 3.312 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.812e-05/0.3687, allocations: 8 kB / 0.7416 GB, free: 3.305 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.034e-05/0.3687, allocations: 4 kB / 0.7416 GB, free: 3.301 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001147/0.3698, allocations: 296.7 kB / 0.7419 GB, free: 3.008 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004815/0.3703, allocations: 127.8 kB / 0.742 GB, free: 2.883 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001447/0.3718, allocations: 0.8903 MB / 0.7429 GB, free: 1.969 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001333/0.3731, allocations: 135.5 kB / 0.743 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.852e-05/0.3732, allocations: 28 kB / 0.743 GB, free: 1.809 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.0003014/0.3735, allocations: 235.5 kB / 0.7433 GB, free: 1.574 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000334/0.3739, allocations: 106.7 kB / 0.7434 GB, free: 1.469 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003762/0.3776, allocations: 1.051 MB / 0.7444 GB, free: 412 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/0.3777, allocations: 8 kB / 0.7444 GB, free: 404 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.356e-06/0.3777, allocations: 4 kB / 0.7444 GB, free: 400 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.126e-06/0.3777, allocations: 3.984 kB / 0.7444 GB, free: 396 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3856/0.7633, allocations: 2.045 MB / 0.7464 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.906e-05/0.7634, allocations: 5.047 kB / 0.7464 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002323/0.7637, allocations: 53.12 kB / 0.7465 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001106/0.7648, allocations: 295.7 kB / 0.7467 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.101e-05/0.7648, allocations: 20.7 kB / 0.7468 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.7663, allocations: 0.9337 MB / 0.7477 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.301e-06/0.7663, allocations: 7.156 kB / 0.7477 GB, free: 108.5 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003536/0.7698, allocations: 1.083 MB / 0.7487 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005206/0.7704, allocations: 259.7 kB / 0.749 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000153/0.7705, allocations: 16.53 kB / 0.749 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007543/0.7713, allocations: 59.34 kB / 0.7491 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.7714, allocations: 39.47 kB / 0.7491 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.464e-05/0.7715, allocations: 22.58 kB / 0.7491 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001408/0.7729, allocations: 0.7553 MB / 0.7499 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.91e-07/0.7729, allocations: 0 / 0.7499 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001787/0.7747, allocations: 0.5787 MB / 0.7504 GB, free: 107.7 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.0009288/0.7756, allocations: 402.2 kB / 0.7508 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003076/0.7787, allocations: 1.027 MB / 0.7518 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.7787, allocations: 1.25 kB / 0.7518 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0007517/0.7795, allocations: 314 kB / 0.7521 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002143/0.7816, allocations: 0.5062 MB / 0.7526 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003311/0.785, allocations: 1.837 MB / 0.7544 GB, free: 106.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006637/0.7856, allocations: 1.064 MB / 0.7554 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002726/0.7859, allocations: 86.42 kB / 0.7555 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of SimCode: time 6.51e-07/0.7859, allocations: 0 / 0.7555 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of Templates: time 0.03717/0.8231, allocations: 24.22 MB / 0.7792 GB, free: 90.62 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)