Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.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_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 106.4 kB / 16.4 MB, free: 6.023 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.001115/0.001115, allocations: 192.5 kB / 17.34 MB, free: 5.633 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.23/1.23, 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.673/0.673, allocations: 115.3 MB / 406.5 MB, free: 6.156 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 68.52 kB / 0.5577 GB, free: 32.33 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1211, allocations: 76.19 MB / 0.6321 GB, free: 4.445 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.06639/0.1876, allocations: 75.15 MB / 0.7055 GB, free: 9.023 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01842/0.206, allocations: 15.16 MB / 0.7203 GB, free: 9.812 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002412/0.2085, allocations: 63.62 kB / 0.7203 GB, free: 9.75 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002361/0.2109, allocations: 0.8345 MB / 0.7211 GB, free: 8.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.006289/0.2172, allocations: 2.591 MB / 0.7237 GB, free: 6.309 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003003/0.2202, allocations: 1.394 MB / 0.725 GB, free: 4.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.004882/0.2251, allocations: 4.395 MB / 0.7293 GB, free: 0.5195 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001689/0.2268, allocations: 1.453 MB / 0.7307 GB, free: 15.04 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002915/0.2298, allocations: 1.668 MB / 0.7324 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001421/0.2312, allocations: 1.217 MB / 0.7336 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002193/0.2314, allocations: 160 kB / 0.7337 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002415/0.2339, allocations: 1.408 MB / 0.7351 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0003162/0.2342, allocations: 394.6 kB / 0.7355 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0007821/0.235, allocations: 0.9099 MB / 0.7364 GB, free: 9.277 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003381/0.2384, allocations: 2.855 MB / 0.7391 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.2384, allocations: 3.938 kB / 0.7391 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.904e-06/0.2384, allocations: 0 / 0.7391 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.637e-05/0.2384, allocations: 0 / 0.7391 GB, free: 6.41 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.003364/0.2418, allocations: 2.083 MB / 0.7412 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.163e-05/0.2418, allocations: 12.03 kB / 0.7412 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007578/0.2426, allocations: 234.8 kB / 0.7414 GB, free: 4.016 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002149/0.2448, allocations: 1.513 MB / 0.7429 GB, free: 2.449 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.357e-05/0.2448, allocations: 78 kB / 0.743 GB, free: 2.371 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001306/0.245, allocations: 104 kB / 0.7431 GB, free: 2.27 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001858/0.2468, allocations: 1.1 MB / 0.7441 GB, free: 1.137 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.298e-05/0.2469, allocations: 4 kB / 0.7441 GB, free: 1.133 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.165e-05/0.247, allocations: 40 kB / 0.7442 GB, free: 1.094 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.067e-05/0.247, allocations: 27.98 kB / 0.7442 GB, free: 1.066 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001767/0.2488, allocations: 0.8939 MB / 0.7451 GB, free: 176 kB / 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.2655/0.5143, allocations: 4.89 MB / 0.7499 GB, free: 107.8 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001322/0.5157, allocations: 0.6114 MB / 0.7505 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006605/0.5163, allocations: 352.4 kB / 0.7508 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000392/0.5167, allocations: 0.8268 MB / 0.7516 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.259e-05/0.5168, allocations: 46.03 kB / 0.7516 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 2.154e-06/0.5168, allocations: 0 / 0.7516 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.006782/0.5236, allocations: 1.692 MB / 0.7533 GB, free: 106 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.229e-05/0.5236, allocations: 61.59 kB / 0.7534 GB, free: 106 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001537/0.5251, allocations: 1.228 MB / 0.7546 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.503e-05/0.5252, allocations: 39.72 kB / 0.7546 GB, free: 105.4 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003855/0.5256, allocations: 0.6112 MB / 0.7552 GB, free: 105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001481/0.5258, allocations: 209.7 kB / 0.7554 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002332/0.526, allocations: 160.2 kB / 0.7555 GB, free: 104.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.949e-05/0.5261, allocations: 334 kB / 0.7559 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006367/0.5267, allocations: 287.3 kB / 0.7561 GB, free: 104.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007459/0.5275, allocations: 0.4957 MB / 0.7566 GB, free: 104 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001209/0.5287, allocations: 0.7032 MB / 0.7573 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.818e-06/0.5287, allocations: 1.719 kB / 0.7573 GB, free: 103.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004448/0.5332, allocations: 1.275 MB / 0.7586 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5332, allocations: 6.688 kB / 0.7586 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.5332, allocations: 4.188 kB / 0.7586 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005353/0.5337, allocations: 141.4 kB / 0.7587 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005677/0.5343, allocations: 160.5 kB / 0.7588 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006698/0.535, allocations: 0.6996 MB / 0.7595 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009527/0.536, allocations: 125.2 kB / 0.7597 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.593e-05/0.536, allocations: 32.5 kB / 0.7597 GB, free: 102.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001121/0.5372, allocations: 0.5507 MB / 0.7602 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008195/0.538, allocations: 0.4888 MB / 0.7607 GB, free: 101.9 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001294/0.5393, allocations: 0.7023 MB / 0.7614 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.637e-06/0.5393, allocations: 1.812 kB / 0.7614 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004473/0.5438, allocations: 1.269 MB / 0.7626 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.5438, allocations: 6.688 kB / 0.7626 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.738e-06/0.5438, allocations: 4.922 kB / 0.7626 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004996/0.5444, allocations: 139.4 kB / 0.7628 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005836/0.5449, allocations: 161.5 kB / 0.7629 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006265/0.5456, allocations: 0.7011 MB / 0.7636 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001036/0.5466, allocations: 99.94 kB / 0.7637 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.168e-05/0.5467, allocations: 30.55 kB / 0.7637 GB, free: 100.5 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0003335/0.547, allocations: 233.3 kB / 0.764 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000279/0.5473, allocations: 132.2 kB / 0.7641 GB, free: 100.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004481/0.5518, allocations: 1.27 MB / 0.7653 GB, free: 99.58 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.46e-05/0.5519, allocations: 7.812 kB / 0.7653 GB, free: 99.58 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5519, allocations: 3.938 kB / 0.7653 GB, free: 99.58 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003804/0.5557, allocations: 1.1 MB / 0.7664 GB, free: 98.95 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00591/0.5616, allocations: 2.624 MB / 0.769 GB, free: 97.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.077e-06/0.5616, allocations: 4.125 kB / 0.769 GB, free: 97.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004635/0.5621, allocations: 109.4 kB / 0.7691 GB, free: 97.13 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000453/0.5626, allocations: 136.5 kB / 0.7692 GB, free: 97.06 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.388e-05/0.5626, allocations: 23.23 kB / 0.7692 GB, free: 97.05 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004432/0.5671, allocations: 2.63 MB / 0.7718 GB, free: 94.84 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.5671, allocations: 7.906 kB / 0.7718 GB, free: 94.84 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004854/0.5719, allocations: 1.698 MB / 0.7735 GB, free: 93.82 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005604/0.5725, allocations: 310.3 kB / 0.7738 GB, free: 93.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001715/0.5727, allocations: 15.94 kB / 0.7738 GB, free: 93.55 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007437/0.5735, allocations: 47.66 kB / 0.7738 GB, free: 93.52 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001054/0.5736, allocations: 68.05 kB / 0.7739 GB, free: 93.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.5736, allocations: 31.7 kB / 0.7739 GB, free: 93.47 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009845/0.5746, allocations: 0.8809 MB / 0.7748 GB, free: 92.98 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5746, allocations: 0 / 0.7748 GB, free: 92.98 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00161/0.5762, allocations: 0.7185 MB / 0.7755 GB, free: 92.85 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0006919/0.5769, allocations: 455.1 kB / 0.7759 GB, free: 92.65 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002215/0.5792, allocations: 1.118 MB / 0.777 GB, free: 92.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.508e-06/0.5792, allocations: 3.812 kB / 0.777 GB, free: 92.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001305/0.5805, allocations: 0.5644 MB / 0.7776 GB, free: 91.81 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002971/0.5835, allocations: 0.8161 MB / 0.7784 GB, free: 91.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002763/0.5862, allocations: 2.262 MB / 0.7806 GB, free: 88.88 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004382/0.5867, allocations: 1.183 MB / 0.7817 GB, free: 87.67 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001114/0.5878, allocations: 304.6 kB / 0.782 GB, free: 87.38 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002251/0.5881, allocations: 107.4 kB / 0.7821 GB, free: 87.28 MB / 0.5762 GB Notification: Performance of SimCode: time 5.81e-07/0.5881, allocations: 0 / 0.7821 GB, free: 87.28 MB / 0.5762 GB Notification: Performance of Templates: time 0.03851/0.6266, allocations: 32.38 MB / 0.8137 GB, free: 55.29 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)