Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_y.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="Buildings_6_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01153/0.01153, allocations: 107.2 kB / 15.06 MB, free: 5.559 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001344/0.001344, allocations: 179.4 kB / 15.95 MB, free: 5.52 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.98/1.98, allocations: 194.6 MB / 211.3 MB, free: 10.97 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.44/2.44, allocations: 236.1 MB / 492.6 MB, free: 11.39 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.000506, allocations: 12 kB / 0.587 GB, free: 2.086 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6858/0.6863, allocations: 98.72 MB / 0.6834 GB, free: 16.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_y): time 0.1046/0.791, allocations: 62.28 MB / 0.7443 GB, free: 15.98 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.02801/0.8191, allocations: 12.82 MB / 0.7568 GB, free: 3.137 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002994/0.8222, allocations: 51.62 kB / 0.7568 GB, free: 3.086 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.004247/0.8265, allocations: 0.7423 MB / 0.7575 GB, free: 2.34 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.01092/0.8374, allocations: 2.356 MB / 0.7598 GB, free: 15.98 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.006605/0.8441, allocations: 1.324 MB / 0.7611 GB, free: 14.65 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.006979/0.8511, allocations: 2.542 MB / 0.7636 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002516/0.8536, allocations: 1.027 MB / 0.7646 GB, free: 11.06 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004044/0.8577, allocations: 1.175 MB / 0.7658 GB, free: 9.879 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002268/0.86, allocations: 0.7973 MB / 0.7666 GB, free: 9.078 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 0.0003879/0.8605, allocations: 52 kB / 0.7666 GB, free: 9.027 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004016/0.8645, allocations: 0.8348 MB / 0.7674 GB, free: 8.191 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.0006145/0.8651, allocations: 246.9 kB / 0.7677 GB, free: 7.949 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.000821/0.866, allocations: 356.9 kB / 0.768 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.004491/0.8705, allocations: 1.999 MB / 0.7699 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.556e-06/0.8705, allocations: 0 / 0.7699 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of FrontEnd: time 3.326e-06/0.8706, allocations: 0 / 0.7699 GB, free: 5.59 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.462e-05/0.8706, allocations: 0 / 0.7699 GB, free: 5.59 MB / 0.5886 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.005548/0.8762, allocations: 1.782 MB / 0.7717 GB, free: 3.746 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.8762, allocations: 8.031 kB / 0.7717 GB, free: 3.738 MB / 0.5886 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004508/0.8767, allocations: 147.9 kB / 0.7718 GB, free: 3.586 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.8781, allocations: 253.8 kB / 0.7721 GB, free: 3.336 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004348/0.8825, allocations: 1.373 MB / 0.7734 GB, free: 1.906 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.973e-05/0.8826, allocations: 78 kB / 0.7735 GB, free: 1.832 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002733/0.8829, allocations: 112 kB / 0.7736 GB, free: 1.723 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00354/0.8865, allocations: 1.077 MB / 0.7746 GB, free: 0.6094 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.687e-05/0.8866, allocations: 4 kB / 0.7747 GB, free: 0.6055 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.8867, allocations: 47.98 kB / 0.7747 GB, free: 0.5586 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.324e-05/0.8868, allocations: 24 kB / 0.7747 GB, free: 0.5352 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00357/0.8904, allocations: 0.9252 MB / 0.7756 GB, free: 15.61 MB / 0.6042 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.01046/0.9009, allocations: 4.911 MB / 0.7804 GB, free: 10.41 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002617/0.9035, allocations: 0.6351 MB / 0.781 GB, free: 9.77 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008743/0.9044, allocations: 0.8325 MB / 0.7819 GB, free: 8.754 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.348e-05/0.9045, allocations: 43.12 kB / 0.7819 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=57): time 3.025e-06/0.9045, allocations: 0 / 0.7819 GB, free: 8.703 MB / 0.6042 GB Notification: Performance of matching and sorting (n=57): time 0.01358/0.9181, allocations: 1.846 MB / 0.7837 GB, free: 6.828 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.215e-05/0.9182, allocations: 59.91 kB / 0.7838 GB, free: 6.758 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002791/0.921, allocations: 1.269 MB / 0.785 GB, free: 5.473 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001878/0.9212, allocations: 41.7 kB / 0.785 GB, free: 5.426 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007634/0.922, allocations: 0.6218 MB / 0.7856 GB, free: 4.797 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.000316/0.9223, allocations: 209 kB / 0.7858 GB, free: 4.59 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.037e-05/0.9224, allocations: 16 kB / 0.7859 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001384/0.9226, allocations: 330 kB / 0.7862 GB, free: 4.246 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.9238, allocations: 297.8 kB / 0.7865 GB, free: 3.953 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001452/0.9253, allocations: 0.4967 MB / 0.7869 GB, free: 3.375 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001339/0.9266, allocations: 351 kB / 0.7873 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.633e-06/0.9267, allocations: 0 / 0.7873 GB, free: 3.031 MB / 0.6042 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008699/0.9354, allocations: 1.39 MB / 0.7886 GB, free: 1.629 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006109/0.936, allocations: 1.432 MB / 0.79 GB, free: 112 kB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.648e-05/0.9361, allocations: 8 kB / 0.79 GB, free: 104 kB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001048/0.9371, allocations: 140.7 kB / 0.7902 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.9385, allocations: 171.8 kB / 0.7903 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00145/0.9399, allocations: 0.7162 MB / 0.791 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/0.9422, allocations: 174.9 kB / 0.7912 GB, free: 14.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001394/0.9424, allocations: 27.98 kB / 0.7912 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.443e-05/0.9424, allocations: 4 kB / 0.7912 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008282/0.9507, allocations: 1.246 MB / 0.7924 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.543e-05/0.9507, allocations: 4 kB / 0.7925 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008915/0.9516, allocations: 148.7 kB / 0.7926 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001251/0.9529, allocations: 163.8 kB / 0.7928 GB, free: 13.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.9543, allocations: 0.7162 MB / 0.7934 GB, free: 12.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002183/0.9565, allocations: 163.2 kB / 0.7936 GB, free: 12.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001485/0.9567, allocations: 35.98 kB / 0.7936 GB, free: 12.35 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0009895/0.9577, allocations: 409 kB / 0.794 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004118/0.9581, allocations: 134.3 kB / 0.7942 GB, free: 11.8 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008416/0.9665, allocations: 1.369 MB / 0.7955 GB, free: 10.42 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-05/0.9666, allocations: 15.94 kB / 0.7955 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.113e-05/0.9666, allocations: 0 / 0.7955 GB, free: 10.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007827/0.9745, allocations: 1.201 MB / 0.7967 GB, free: 9.168 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01155/0.9861, allocations: 2.622 MB / 0.7992 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.411e-05/0.9861, allocations: 0 / 0.7992 GB, free: 6.449 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/0.9871, allocations: 116.2 kB / 0.7994 GB, free: 6.336 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008964/0.988, allocations: 140.7 kB / 0.7995 GB, free: 6.195 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.484e-05/0.9882, allocations: 16 kB / 0.7995 GB, free: 6.18 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008669/0.9968, allocations: 2.556 MB / 0.802 GB, free: 3.473 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.9969, allocations: 4 kB / 0.802 GB, free: 3.469 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009779/1.007, allocations: 1.916 MB / 0.8039 GB, free: 1.391 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001023/1.008, allocations: 331.1 kB / 0.8042 GB, free: 1.047 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003378/1.008, allocations: 19.98 kB / 0.8042 GB, free: 1.027 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00167/1.01, allocations: 89.39 kB / 0.8043 GB, free: 0.9414 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002138/1.01, allocations: 64.25 kB / 0.8044 GB, free: 0.8789 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.826e-05/1.01, allocations: 23.98 kB / 0.8044 GB, free: 0.8555 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002113/1.012, allocations: 0.9016 MB / 0.8053 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.31e-07/1.012, allocations: 0 / 0.8053 GB, free: 15.95 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.002942/1.015, allocations: 0.7174 MB / 0.806 GB, free: 15.23 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (51): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.01144/1.027, allocations: 3.462 MB / 0.8093 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.004497/1.031, allocations: 1.141 MB / 0.8105 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.113e-06/1.031, allocations: 0 / 0.8105 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.002579/1.034, allocations: 0.5681 MB / 0.811 GB, free: 9.957 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006337/1.04, allocations: 0.7506 MB / 0.8117 GB, free: 9.207 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009063/1.049, allocations: 5.894 MB / 0.8175 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001034/1.05, allocations: 1.196 MB / 0.8187 GB, free: 1.938 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002145/1.053, allocations: 291.1 kB / 0.8189 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/1.054, allocations: 0.511 MB / 0.8194 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of SimCode: time 3.226e-06/1.054, allocations: 4 kB / 0.8194 GB, free: 1.133 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1392/1.193, allocations: 42.06 MB / 0.8605 GB, free: 7.582 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004128/1.194, allocations: 250.7 kB / 0.8608 GB, free: 7.273 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.331/5.525, allocations: 0 / 0.8608 GB, free: 7.273 MB / 0.6823 GB