Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) 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/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 Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.716/1.716, allocations: 306.1 MB / 321.4 MB, free: 10.75 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001397/0.001397, allocations: 179.5 kB / 393.1 MB, free: 4.094 MB / 314.7 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.341/1.341, allocations: 225.7 MB / 0.6743 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008537/0.0008538, allocations: 91.94 kB / 0.7935 GB, free: 39.98 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.000376/0.000376, allocations: 8 kB / 0.9224 GB, free: 8.676 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5602/0.5606, allocations: 121.3 MB / 1.041 GB, free: 58.29 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar): time 0.001466/0.5621, allocations: 1.241 MB / 1.042 GB, free: 57.45 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001096/0.5632, allocations: 1.027 MB / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.261e-05/0.5633, allocations: 0 / 1.043 GB, free: 56.58 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 2.044e-05/0.5633, allocations: 6.547 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 7.974e-05/0.5634, allocations: 11.86 kB / 1.043 GB, free: 56.57 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003415/0.5637, allocations: 69.77 kB / 1.043 GB, free: 56.54 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.501e-05/0.5638, allocations: 51.31 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 8.085e-05/0.5639, allocations: 11.97 kB / 1.043 GB, free: 56.51 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 8.706e-05/0.564, allocations: 28.17 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.424e-05/0.5641, allocations: 27.5 kB / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.5641, allocations: 0 / 1.043 GB, free: 56.48 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001357/0.5642, allocations: 67.19 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.578e-05/0.5643, allocations: 4.453 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.559e-05/0.5643, allocations: 45.42 kB / 1.043 GB, free: 56.42 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001662/0.5645, allocations: 94.3 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.5645, allocations: 4 kB / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5645, allocations: 0 / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.617e-06/0.5645, allocations: 0 / 1.044 GB, free: 56.39 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003706/0.5649, allocations: 373.6 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5649, allocations: 9.531 kB / 1.044 GB, free: 56.01 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002733/0.5652, allocations: 31.55 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.036e-05/0.5653, allocations: 172.1 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.16e-05/0.5653, allocations: 1.906 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.251e-05/0.5653, allocations: 2.656 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000226/0.5656, allocations: 90.42 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.5656, allocations: 3.938 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.035e-05/0.5656, allocations: 0 / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.5656, allocations: 2.656 kB / 1.044 GB, free: 55.75 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002559/0.5659, allocations: 73.72 kB / 1.044 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004061/0.5663, allocations: 328.1 kB / 1.045 GB, free: 55.43 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002321/0.5665, allocations: 73.52 kB / 1.045 GB, free: 55.39 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001314/0.5667, allocations: 47.59 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.085e-05/0.5667, allocations: 0.875 kB / 1.045 GB, free: 55.37 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.404e-05/0.5667, allocations: 33.5 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5667, allocations: 1.281 kB / 1.045 GB, free: 55.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0004877/0.5672, allocations: 152.1 kB / 1.045 GB, free: 55.27 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.455e-05/0.5673, allocations: 52.84 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.38e-05/0.5673, allocations: 119.5 kB / 1.045 GB, free: 55.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.088e-05/0.5673, allocations: 26.61 kB / 1.045 GB, free: 55.07 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.456e-05/0.5674, allocations: 89.67 kB / 1.045 GB, free: 54.99 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.809e-05/0.5674, allocations: 11.17 kB / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.271e-06/0.5674, allocations: 0 / 1.045 GB, free: 54.98 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.445e-05/0.5675, allocations: 325.6 kB / 1.045 GB, free: 54.66 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.5676, allocations: 41.83 kB / 1.045 GB, free: 54.64 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.5678, allocations: 35.41 kB / 1.046 GB, free: 54.64 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000231/0.568, allocations: 71.58 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.323e-06/0.568, allocations: 1.312 kB / 1.046 GB, free: 54.61 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002905/0.5683, allocations: 115.4 kB / 1.046 GB, free: 54.56 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.5683, allocations: 9.688 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.879e-06/0.5683, allocations: 0 / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.8e-05/0.5684, allocations: 8.031 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.5685, allocations: 15.52 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.244e-06/0.5685, allocations: 0.625 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.65e-05/0.5686, allocations: 7.109 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.482e-05/0.5686, allocations: 7.703 kB / 1.046 GB, free: 54.55 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.825e-05/0.5687, allocations: 126.7 kB / 1.046 GB, free: 54.43 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.641e-05/0.5687, allocations: 6.344 kB / 1.046 GB, free: 54.42 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.103e-05/0.5688, allocations: 10.19 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.5688, allocations: 0 / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.018e-06/0.5688, allocations: 7.156 kB / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.5688, allocations: 0 / 1.046 GB, free: 54.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.569, allocations: 198.1 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.569, allocations: 0 / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001114/0.5691, allocations: 23.73 kB / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.5691, allocations: 1 kB / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.5691, allocations: 3.406 kB / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.5691, allocations: 0 / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.5691, allocations: 0 / 1.046 GB, free: 54.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003161/0.5694, allocations: 209.3 kB / 1.046 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.328e-05/0.5695, allocations: 84.95 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.939e-05/0.5695, allocations: 4.422 kB / 1.046 GB, free: 53.94 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000107/0.5696, allocations: 11.44 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.879e-05/0.5697, allocations: 10.53 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.848e-06/0.5697, allocations: 3.359 kB / 1.046 GB, free: 53.93 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.908e-05/0.5697, allocations: 94.7 kB / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5697, allocations: 0 / 1.046 GB, free: 53.85 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000231/0.57, allocations: 25.52 kB / 1.047 GB, free: 53.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (3): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001665/0.5701, allocations: 125.2 kB / 1.047 GB, free: 53.75 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003023/0.5704, allocations: 81.36 kB / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5704, allocations: 0 / 1.047 GB, free: 53.73 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001354/0.5706, allocations: 44.98 kB / 1.047 GB, free: 53.72 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.5709, allocations: 18.25 kB / 1.047 GB, free: 53.71 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003514/0.5712, allocations: 183.6 kB / 1.047 GB, free: 53.56 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.5713, allocations: 0.6861 MB / 1.048 GB, free: 52.87 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.859e-05/0.5714, allocations: 17.73 kB / 1.048 GB, free: 52.86 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.949e-05/0.5715, allocations: 16.84 kB / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/0.5715, allocations: 0 / 1.048 GB, free: 52.85 MB / 0.698 GB Notification: Performance of Templates: time 0.003029/0.5745, allocations: 0.9937 MB / 1.049 GB, free: 52.74 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.LMTDStar.pipe 2>&1)