Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 3.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 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(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008333/0.0008334, allocations: 174.8 kB / 16.08 MB, free: 5.73 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4419/0.4419, allocations: 89.07 MB / 105.9 MB, free: 12.45 MB / 90.72 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.262/1.262, allocations: 225.7 MB / 353.2 MB, free: 1.105 MB / 282.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007493/0.0007492, allocations: 92.92 kB / 425.4 MB, free: 6.641 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003115/0.0003115, allocations: 8 kB / 0.4955 GB, free: 4.547 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3208/0.3211, allocations: 71.34 MB / 0.5652 GB, free: 42.35 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.05551/0.3767, allocations: 74.73 MB / 0.6382 GB, free: 14.32 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.02058/0.3973, allocations: 20.48 MB / 0.6582 GB, free: 8.367 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002244/0.3996, allocations: 55.62 kB / 0.6582 GB, free: 8.312 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002084/0.4017, allocations: 0.6682 MB / 0.6589 GB, free: 7.641 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006273/0.408, allocations: 2.376 MB / 0.6612 GB, free: 5.254 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003265/0.4112, allocations: 1.279 MB / 0.6624 GB, free: 3.973 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.005853/0.4171, allocations: 5.554 MB / 0.6679 GB, free: 14.41 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001898/0.419, allocations: 1.149 MB / 0.669 GB, free: 13.23 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002497/0.4215, allocations: 1.369 MB / 0.6703 GB, free: 11.85 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001608/0.4232, allocations: 1.147 MB / 0.6715 GB, free: 10.7 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001672/0.4233, allocations: 56 kB / 0.6715 GB, free: 10.64 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002596/0.4259, allocations: 1.185 MB / 0.6727 GB, free: 9.457 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003284/0.4263, allocations: 278.7 kB / 0.6729 GB, free: 9.184 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001173/0.4275, allocations: 0.8022 MB / 0.6737 GB, free: 8.371 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.004215/0.4317, allocations: 2.726 MB / 0.6764 GB, free: 5.637 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.835e-06/0.4317, allocations: 4 kB / 0.6764 GB, free: 5.633 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.643e-06/0.4317, allocations: 0 / 0.6764 GB, free: 5.633 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.674e-05/0.4318, allocations: 0 / 0.6764 GB, free: 5.633 MB / 490.7 MB 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.003349/0.4351, allocations: 1.791 MB / 0.6781 GB, free: 3.777 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.845e-05/0.4352, allocations: 8.031 kB / 0.6781 GB, free: 3.77 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007017/0.4359, allocations: 238.9 kB / 0.6784 GB, free: 3.535 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002365/0.4382, allocations: 1.493 MB / 0.6798 GB, free: 1.984 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.505e-05/0.4383, allocations: 82 kB / 0.6799 GB, free: 1.906 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001435/0.4385, allocations: 100 kB / 0.68 GB, free: 1.809 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001956/0.4404, allocations: 1.108 MB / 0.6811 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.663e-05/0.4405, allocations: 4 kB / 0.6811 GB, free: 0.6602 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.94e-05/0.4406, allocations: 43.98 kB / 0.6811 GB, free: 0.6172 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.573e-05/0.4406, allocations: 35.98 kB / 0.6812 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001805/0.4424, allocations: 0.9212 MB / 0.6821 GB, free: 15.66 MB / 0.4948 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.005886/0.4483, allocations: 4.911 MB / 0.6868 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00139/0.4497, allocations: 0.6406 MB / 0.6875 GB, free: 9.82 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006872/0.4504, allocations: 374.8 kB / 0.6878 GB, free: 9.453 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006738/0.4511, allocations: 0.8238 MB / 0.6886 GB, free: 8.441 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.686e-05/0.4512, allocations: 47.12 kB / 0.6887 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=61): time 2.856e-06/0.4512, allocations: 0 / 0.6887 GB, free: 8.387 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.006851/0.458, allocations: 1.889 MB / 0.6905 GB, free: 6.473 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.631e-05/0.4581, allocations: 55.97 kB / 0.6906 GB, free: 6.406 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00157/0.4597, allocations: 1.198 MB / 0.6917 GB, free: 5.191 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 7.34e-05/0.4598, allocations: 45.7 kB / 0.6918 GB, free: 5.141 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004603/0.4602, allocations: 0.5987 MB / 0.6924 GB, free: 4.535 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000194/0.4604, allocations: 220.9 kB / 0.6926 GB, free: 4.316 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.127e-05/0.4605, allocations: 8 kB / 0.6926 GB, free: 4.309 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001124/0.4606, allocations: 334 kB / 0.6929 GB, free: 3.977 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006193/0.4612, allocations: 305.8 kB / 0.6932 GB, free: 3.68 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007884/0.462, allocations: 0.5046 MB / 0.6937 GB, free: 3.098 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001353/0.4634, allocations: 0.7519 MB / 0.6944 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.4634, allocations: 0 / 0.6944 GB, free: 2.293 MB / 0.4948 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.004352/0.4677, allocations: 1.402 MB / 0.6958 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001296/0.4679, allocations: 202.2 kB / 0.696 GB, free: 0.6289 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.334e-05/0.4679, allocations: 8 kB / 0.696 GB, free: 0.6211 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005736/0.4685, allocations: 144.7 kB / 0.6961 GB, free: 488 kB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005922/0.4691, allocations: 163.8 kB / 0.6963 GB, free: 324 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000819/0.4699, allocations: 0.72 MB / 0.697 GB, free: 15.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.471, allocations: 172.9 kB / 0.6972 GB, free: 15.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.907e-05/0.4711, allocations: 32 kB / 0.6972 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 7.204e-06/0.4711, allocations: 4 kB / 0.6972 GB, free: 15.37 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003986/0.4751, allocations: 1.249 MB / 0.6984 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.278e-06/0.4752, allocations: 4 kB / 0.6984 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004378/0.4756, allocations: 149.1 kB / 0.6986 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005454/0.4762, allocations: 171.6 kB / 0.6987 GB, free: 13.79 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007317/0.4769, allocations: 0.7123 MB / 0.6994 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009905/0.4779, allocations: 163.2 kB / 0.6996 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.813e-05/0.478, allocations: 31.98 kB / 0.6996 GB, free: 12.86 MB / 0.5105 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.0005912/0.4786, allocations: 428.8 kB / 0.7 GB, free: 12.43 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001803/0.4788, allocations: 134.3 kB / 0.7001 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.483, allocations: 1.396 MB / 0.7015 GB, free: 10.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.378e-05/0.483, allocations: 7.984 kB / 0.7015 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4831, allocations: 4 kB / 0.7015 GB, free: 10.88 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00374/0.4868, allocations: 1.228 MB / 0.7027 GB, free: 9.613 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005846/0.4927, allocations: 2.738 MB / 0.7054 GB, free: 6.758 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.4927, allocations: 4 kB / 0.7054 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004657/0.4932, allocations: 124.2 kB / 0.7055 GB, free: 6.633 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004351/0.4936, allocations: 140.7 kB / 0.7057 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.22e-05/0.4937, allocations: 16 kB / 0.7057 GB, free: 6.477 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004316/0.498, allocations: 2.478 MB / 0.7081 GB, free: 3.852 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/0.498, allocations: 8.062 kB / 0.7081 GB, free: 3.844 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00491/0.5029, allocations: 1.836 MB / 0.7099 GB, free: 1.941 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005923/0.5035, allocations: 335.1 kB / 0.7102 GB, free: 1.594 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001625/0.5037, allocations: 20 kB / 0.7102 GB, free: 1.574 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008203/0.5045, allocations: 99.69 kB / 0.7103 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.5047, allocations: 60.3 kB / 0.7104 GB, free: 1.418 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.16e-05/0.5047, allocations: 31.98 kB / 0.7104 GB, free: 1.387 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001147/0.5059, allocations: 0.8582 MB / 0.7112 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.6e-07/0.5059, allocations: 96 / 0.7112 GB, free: 0.5273 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.2297/0.7356, allocations: 0.7161 MB / 0.7119 GB, free: 142.9 MB / 0.5105 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.001032/0.7367, allocations: 436.2 kB / 0.7124 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002784/0.7395, allocations: 1.162 MB / 0.7135 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 5.611e-06/0.7395, allocations: 1.156 kB / 0.7135 GB, free: 142.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001428/0.741, allocations: 0.6015 MB / 0.7141 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004039/0.745, allocations: 0.8033 MB / 0.7149 GB, free: 142.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003595/0.7486, allocations: 2.815 MB / 0.7176 GB, free: 141 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007501/0.7494, allocations: 1.178 MB / 0.7188 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.001389/0.7508, allocations: 305.2 kB / 0.7191 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003366/0.7511, allocations: 109.2 kB / 0.7192 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of SimCode: time 7.12e-07/0.7511, allocations: 0.5 kB / 0.7192 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.04289/0.794, allocations: 32.21 MB / 0.7506 GB, free: 113 MB / 0.5105 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)