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.001517/0.001517, allocations: 99.78 kB / 16.4 MB, free: 6.461 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.001439/0.001439, allocations: 196 kB / 17.34 MB, free: 5.719 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.05 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7029/0.7029, allocations: 115.3 MB / 406.5 MB, free: 6.121 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001278/0.001279, allocations: 71.53 kB / 0.5577 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1703, allocations: 76.18 MB / 0.6321 GB, free: 4.355 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_etaPL): time 0.05893/0.2293, allocations: 61.16 MB / 0.6918 GB, free: 6.977 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.2477, allocations: 12 MB / 0.7035 GB, free: 10.94 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003285/0.2511, allocations: 59.62 kB / 0.7036 GB, free: 10.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002411/0.2535, allocations: 0.6987 MB / 0.7043 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007854/0.2614, allocations: 2.068 MB / 0.7063 GB, free: 8.098 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003953/0.2654, allocations: 1.209 MB / 0.7075 GB, free: 6.898 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006105/0.2715, allocations: 3.095 MB / 0.7105 GB, free: 3.793 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002114/0.2736, allocations: 1.1 MB / 0.7116 GB, free: 2.656 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00447/0.2781, allocations: 1.364 MB / 0.7129 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001813/0.28, allocations: 0.8945 MB / 0.7138 GB, free: 400 kB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003068/0.2803, allocations: 120 kB / 0.7139 GB, free: 280 kB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003703/0.284, allocations: 1.454 MB / 0.7153 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003518/0.2843, allocations: 294.8 kB / 0.7156 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0009254/0.2853, allocations: 0.692 MB / 0.7163 GB, free: 13.83 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004041/0.2893, allocations: 2.302 MB / 0.7185 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.74e-06/0.2893, allocations: 0 / 0.7185 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.585e-06/0.2894, allocations: 4 kB / 0.7185 GB, free: 11.52 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.74e-05/0.2894, allocations: 0 / 0.7185 GB, free: 11.52 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.003414/0.2928, allocations: 1.73 MB / 0.7202 GB, free: 9.73 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/0.2929, allocations: 8.031 kB / 0.7202 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002208/0.2951, allocations: 410.8 kB / 0.7206 GB, free: 9.32 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002308/0.2974, allocations: 1.163 MB / 0.7218 GB, free: 8.098 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.755e-05/0.2975, allocations: 66 kB / 0.7218 GB, free: 8.035 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001179/0.2976, allocations: 84 kB / 0.7219 GB, free: 7.953 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002213/0.2998, allocations: 0.9976 MB / 0.7229 GB, free: 6.895 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.943e-05/0.2999, allocations: 3.984 kB / 0.7229 GB, free: 6.891 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.489e-05/0.3, allocations: 32 kB / 0.7229 GB, free: 6.859 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.935e-05/0.3, allocations: 20 kB / 0.7229 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002256/0.3023, allocations: 0.8624 MB / 0.7238 GB, free: 5.98 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.007213/0.3095, allocations: 5.231 MB / 0.7289 GB, free: 384 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003438/0.3129, allocations: 0.7962 MB / 0.7297 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007346/0.3137, allocations: 302.4 kB / 0.7299 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007499/0.3144, allocations: 0.9064 MB / 0.7308 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.803e-05/0.3145, allocations: 34.56 kB / 0.7309 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=44): time 3.026e-06/0.3145, allocations: 0 / 0.7309 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of matching and sorting (n=44): time 0.008568/0.3231, allocations: 1.863 MB / 0.7327 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.3231, allocations: 59.41 kB / 0.7327 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001647/0.3248, allocations: 1.072 MB / 0.7338 GB, free: 11.07 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 7.713e-05/0.3249, allocations: 37.7 kB / 0.7338 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004463/0.3253, allocations: 0.535 MB / 0.7343 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.000135/0.3255, allocations: 153.8 kB / 0.7345 GB, free: 10.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002369/0.3257, allocations: 134.2 kB / 0.7346 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3259, allocations: 326 kB / 0.7349 GB, free: 9.871 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009163/0.3268, allocations: 311.2 kB / 0.7352 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/0.3279, allocations: 0.5251 MB / 0.7357 GB, free: 8.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001703/0.3296, allocations: 0.7184 MB / 0.7364 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.3296, allocations: 0 / 0.7364 GB, free: 8.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003706/0.3333, allocations: 1.145 MB / 0.7376 GB, free: 7 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.3334, allocations: 9.719 kB / 0.7376 GB, free: 6.992 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.3334, allocations: 7.984 kB / 0.7376 GB, free: 6.984 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001299/0.3347, allocations: 315.5 kB / 0.7379 GB, free: 6.676 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005635/0.3353, allocations: 127.8 kB / 0.738 GB, free: 6.551 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001499/0.3368, allocations: 0.8957 MB / 0.7389 GB, free: 5.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001224/0.338, allocations: 159.2 kB / 0.739 GB, free: 5.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.365e-05/0.3381, allocations: 31.98 kB / 0.7391 GB, free: 5.441 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001305/0.3394, allocations: 0.5129 MB / 0.7396 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001083/0.3405, allocations: 0.529 MB / 0.7401 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001689/0.3422, allocations: 0.7055 MB / 0.7408 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.856e-06/0.3422, allocations: 0 / 0.7408 GB, free: 3.523 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.003548/0.3458, allocations: 1.129 MB / 0.7419 GB, free: 2.383 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.509e-05/0.3458, allocations: 8 kB / 0.7419 GB, free: 2.375 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/0.3458, allocations: 4 kB / 0.7419 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001101/0.3469, allocations: 304.7 kB / 0.7422 GB, free: 2.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000543/0.3475, allocations: 127.8 kB / 0.7423 GB, free: 1.945 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001409/0.3489, allocations: 0.9017 MB / 0.7432 GB, free: 1.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.3501, allocations: 135.6 kB / 0.7433 GB, free: 0.8867 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.985e-05/0.3502, allocations: 27.98 kB / 0.7433 GB, free: 0.8594 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.0002786/0.3504, allocations: 224.1 kB / 0.7435 GB, free: 0.6328 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.3506, allocations: 114.5 kB / 0.7436 GB, free: 0.5195 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.3606/0.7112, allocations: 1.088 MB / 0.7447 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/0.7113, allocations: 10.97 kB / 0.7447 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-06/0.7113, allocations: 2.656 kB / 0.7447 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.225e-05/0.7113, allocations: 3.172 kB / 0.7447 GB, free: 109.2 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00585/0.7172, allocations: 2.173 MB / 0.7468 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/0.7172, allocations: 1.719 kB / 0.7468 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002893/0.7175, allocations: 69.28 kB / 0.7469 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001065/0.7186, allocations: 292.9 kB / 0.7472 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.244e-05/0.7186, allocations: 15.64 kB / 0.7472 GB, free: 108.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001403/0.72, allocations: 0.9314 MB / 0.7481 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7201, allocations: 2.469 kB / 0.7481 GB, free: 108.2 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003793/0.7239, allocations: 1.172 MB / 0.7493 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004948/0.7244, allocations: 264.4 kB / 0.7495 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001557/0.7245, allocations: 15.98 kB / 0.7495 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008138/0.7254, allocations: 70.06 kB / 0.7496 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.7255, allocations: 41.88 kB / 0.7496 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.638e-05/0.7255, allocations: 22.12 kB / 0.7497 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001267/0.7268, allocations: 0.7556 MB / 0.7504 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.91e-07/0.7268, allocations: 1 kB / 0.7504 GB, free: 107.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001753/0.7286, allocations: 0.5743 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 (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.0008551/0.7294, allocations: 392.1 kB / 0.7513 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003214/0.7327, allocations: 1.129 MB / 0.7524 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.7327, allocations: 0 / 0.7524 GB, free: 106.8 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008705/0.7336, allocations: 351.6 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.002284/0.7359, allocations: 0.511 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.005547/0.7414, allocations: 2.013 MB / 0.7552 GB, free: 105.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008017/0.7422, allocations: 1.071 MB / 0.7563 GB, free: 105 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001118/0.7434, allocations: 229.9 kB / 0.7565 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000217/0.7436, allocations: 75.44 kB / 0.7566 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of SimCode: time 8.92e-07/0.7436, allocations: 0 / 0.7566 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of Templates: time 0.03559/0.7792, allocations: 25.3 MB / 0.7813 GB, free: 87.98 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)