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.QStar.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.QStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") translateModel(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.837/1.837, allocations: 306.1 MB / 321.4 MB, free: 10.7 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.001027/0.001027, allocations: 175.5 kB / 393.1 MB, free: 4.07 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.346/1.346, allocations: 225.7 MB / 0.6743 GB, free: 12.6 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.0007524/0.0007525, allocations: 93.97 kB / 0.7935 GB, free: 40.05 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0002954/0.0002954, allocations: 8 kB / 0.9224 GB, free: 8.629 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5299/0.5302, allocations: 121.3 MB / 1.041 GB, free: 58.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar): time 0.002015/0.5323, allocations: 1.291 MB / 1.042 GB, free: 57.57 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001118/0.5335, allocations: 0.7934 MB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.756e-05/0.5335, allocations: 0.6562 kB / 1.043 GB, free: 56.9 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.62e-05/0.5336, allocations: 5.547 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.71e-05/0.5337, allocations: 10.91 kB / 1.043 GB, free: 56.89 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002818/0.534, allocations: 38.12 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 9.975e-05/0.5341, allocations: 50.27 kB / 1.043 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001041/0.5342, allocations: 18.3 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 9.376e-05/0.5343, allocations: 14.36 kB / 1.043 GB, free: 56.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 8.497e-05/0.5344, allocations: 21.98 kB / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.436e-05/0.5344, allocations: 0 / 1.043 GB, free: 56.83 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001447/0.5346, allocations: 54.41 kB / 1.043 GB, free: 56.81 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.306e-05/0.5346, allocations: 25.33 kB / 1.043 GB, free: 56.8 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 5.532e-05/0.5347, allocations: 50.08 kB / 1.043 GB, free: 56.75 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0001885/0.5349, allocations: 86.91 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.5349, allocations: 2.391 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.064e-06/0.5349, allocations: 1.844 kB / 1.043 GB, free: 56.73 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.128e-06/0.5349, allocations: 3.938 kB / 1.043 GB, free: 56.72 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005459/0.5355, allocations: 383.9 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.5355, allocations: 10.95 kB / 1.044 GB, free: 56.34 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.5367, allocations: 211.8 kB / 1.044 GB, free: 56.33 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001323/0.5368, allocations: 189 kB / 1.044 GB, free: 56.12 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.5369, allocations: 39.22 kB / 1.044 GB, free: 56.09 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.066e-05/0.537, allocations: 7.344 kB / 1.044 GB, free: 56.08 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005172/0.5375, allocations: 180 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.686e-06/0.5375, allocations: 0 / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.587e-05/0.5375, allocations: 0 / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.092e-06/0.5375, allocations: 2.531 kB / 1.044 GB, free: 56.03 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007674/0.5383, allocations: 241.8 kB / 1.044 GB, free: 56 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009792/0.5393, allocations: 0.5054 MB / 1.045 GB, free: 55.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007625/0.5401, allocations: 244.5 kB / 1.045 GB, free: 55.61 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003858/0.5405, allocations: 123.3 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.764e-05/0.5405, allocations: 0.5625 kB / 1.045 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.956e-05/0.5405, allocations: 30.56 kB / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.543e-06/0.5405, allocations: 0 / 1.045 GB, free: 55.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.00127/0.5418, allocations: 384.2 kB / 1.046 GB, free: 55.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.092e-05/0.5419, allocations: 51.41 kB / 1.046 GB, free: 55.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001703/0.542, allocations: 170.8 kB / 1.046 GB, free: 55.29 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.5421, allocations: 25.7 kB / 1.046 GB, free: 55.25 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.618e-05/0.5421, allocations: 102.4 kB / 1.046 GB, free: 55.16 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.325e-05/0.5422, allocations: 9.25 kB / 1.046 GB, free: 55.15 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.014e-05/0.5422, allocations: 7.969 kB / 1.046 GB, free: 55.14 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.011e-05/0.5422, allocations: 321.2 kB / 1.046 GB, free: 54.82 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003815/0.5426, allocations: 118 kB / 1.046 GB, free: 54.81 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003575/0.543, allocations: 118 kB / 1.047 GB, free: 54.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000685/0.5437, allocations: 200.5 kB / 1.047 GB, free: 54.76 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.5437, allocations: 0 / 1.047 GB, free: 54.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0008379/0.5446, allocations: 265.7 kB / 1.047 GB, free: 54.7 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.657e-05/0.5446, allocations: 12.22 kB / 1.047 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.729e-06/0.5446, allocations: 0 / 1.047 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.5446, allocations: 4.031 kB / 1.047 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002363/0.5449, allocations: 42.97 kB / 1.047 GB, free: 54.69 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.5449, allocations: 3.938 kB / 1.047 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001807/0.5451, allocations: 34.98 kB / 1.047 GB, free: 54.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.95e-05/0.5451, allocations: 9.453 kB / 1.047 GB, free: 54.68 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 (2): * Single equations (assignments): 2 * 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 7.591e-05/0.5452, allocations: 119.3 kB / 1.047 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.5452, allocations: 12.59 kB / 1.047 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.429e-05/0.5453, allocations: 11.45 kB / 1.047 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.5453, allocations: 1.219 kB / 1.047 GB, free: 54.55 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.5453, allocations: 7.875 kB / 1.047 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.5453, allocations: 0 / 1.047 GB, free: 54.54 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002297/0.5455, allocations: 251.2 kB / 1.048 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.5455, allocations: 2.094 kB / 1.048 GB, free: 54.33 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002079/0.5458, allocations: 47.22 kB / 1.048 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.5458, allocations: 0 / 1.048 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.49e-05/0.5458, allocations: 7.875 kB / 1.048 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5458, allocations: 0.6562 kB / 1.048 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.5458, allocations: 3.938 kB / 1.048 GB, free: 54.32 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006738/0.5465, allocations: 364.7 kB / 1.048 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.257e-05/0.5465, allocations: 84.05 kB / 1.048 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.5466, allocations: 2.531 kB / 1.048 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.5468, allocations: 32.66 kB / 1.048 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.658e-05/0.5468, allocations: 10 kB / 1.048 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.4e-05/0.5469, allocations: 3.328 kB / 1.048 GB, free: 54.05 MB / 0.698 GB Notification: Performance of sorting global known variables: time 8.446e-05/0.5469, allocations: 136.3 kB / 1.048 GB, free: 53.95 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.01e-07/0.547, allocations: 0 / 1.048 GB, free: 53.95 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002863/0.5472, allocations: 17.81 kB / 1.048 GB, free: 53.95 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 (2): * Single equations (assignments): 2 * 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.000159/0.5474, allocations: 109.9 kB / 1.048 GB, free: 53.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007096/0.5481, allocations: 241 kB / 1.049 GB, free: 53.83 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.5481, allocations: 0 / 1.049 GB, free: 53.83 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003226/0.5485, allocations: 124.9 kB / 1.049 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002533/0.5487, allocations: 6.031 kB / 1.049 GB, free: 53.81 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006139/0.5494, allocations: 309.3 kB / 1.049 GB, free: 53.64 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.5495, allocations: 0.6993 MB / 1.05 GB, free: 52.95 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.000122/0.5496, allocations: 24.91 kB / 1.05 GB, free: 52.93 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.047e-05/0.5497, allocations: 13.64 kB / 1.05 GB, free: 52.93 MB / 0.698 GB Notification: Performance of SimCode: time 2.81e-07/0.5497, allocations: 2.344 kB / 1.05 GB, free: 52.93 MB / 0.698 GB Notification: Performance of Templates: time 0.003453/0.5532, allocations: 1.22 MB / 1.051 GB, free: 52.81 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.makefile (rm -f Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe >> ../files/Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.sim & ./Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Storage.Ice.BaseClasses.Examples.QStar.pipe 2>&1)