Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.686/1.686, allocations: 297.4 MB / 312.6 MB, free: 2.957 MB / 234.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.0009326/0.0009328, allocations: 182 kB / 382.3 MB, free: 14.86 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.325/1.325, allocations: 225.7 MB / 0.6617 GB, free: 7.223 MB / 490.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.0008395/0.0008395, allocations: 92.14 kB / 0.7789 GB, free: 46.73 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003207/0.0003207, allocations: 8 kB / 0.9058 GB, free: 4.945 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5456/0.5459, allocations: 119.2 MB / 1.022 GB, free: 57.42 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001536/0.5475, allocations: 1.202 MB / 1.023 GB, free: 56.85 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003708/0.5479, allocations: 192.2 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.903e-05/0.548, allocations: 1.406 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.329e-05/0.548, allocations: 3.938 kB / 1.024 GB, free: 56.69 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.617e-05/0.5481, allocations: 11.28 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.5483, allocations: 20.2 kB / 1.024 GB, free: 56.68 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.5484, allocations: 34.39 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.709e-05/0.5485, allocations: 14.47 kB / 1.024 GB, free: 56.66 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.18e-05/0.5485, allocations: 18 kB / 1.024 GB, free: 56.65 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.05e-05/0.5486, allocations: 21.5 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.437e-05/0.5486, allocations: 2.156 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 6.186e-05/0.5487, allocations: 19.61 kB / 1.024 GB, free: 56.64 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 4.723e-05/0.5487, allocations: 10.3 kB / 1.024 GB, free: 56.63 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.919e-05/0.5488, allocations: 43.73 kB / 1.024 GB, free: 56.59 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.000121/0.5489, allocations: 59.2 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.5489, allocations: 4.938 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.935e-06/0.5489, allocations: 1.438 kB / 1.024 GB, free: 56.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.5489, allocations: 1.125 kB / 1.024 GB, free: 56.57 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.0004741/0.5494, allocations: 379.5 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.5494, allocations: 8.562 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.481e-05/0.5495, allocations: 9.75 kB / 1.024 GB, free: 56.2 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.976e-05/0.5496, allocations: 176.2 kB / 1.024 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.5496, allocations: 5.5 kB / 1.024 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.189e-05/0.5496, allocations: 5.875 kB / 1.024 GB, free: 55.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002684/0.5499, allocations: 90.02 kB / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.5499, allocations: 192 / 1.025 GB, free: 55.95 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/0.5499, allocations: 3.938 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.5499, allocations: 1.031 kB / 1.025 GB, free: 55.94 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003593/0.5503, allocations: 93.67 kB / 1.025 GB, free: 55.93 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003235/0.5506, allocations: 283.2 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002116/0.5509, allocations: 79.92 kB / 1.025 GB, free: 55.62 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001632/0.551, allocations: 57.62 kB / 1.025 GB, free: 55.6 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002178/0.5513, allocations: 108.2 kB / 1.025 GB, free: 55.51 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.5513, allocations: 34.08 kB / 1.025 GB, free: 55.47 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.272e-06/0.5513, allocations: 0 / 1.025 GB, free: 55.47 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005773/0.5519, allocations: 183.1 kB / 1.025 GB, free: 55.42 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.288e-05/0.5519, allocations: 52.02 kB / 1.025 GB, free: 55.36 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.162e-05/0.552, allocations: 126.4 kB / 1.025 GB, free: 55.25 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.013e-05/0.552, allocations: 25.7 kB / 1.026 GB, free: 55.22 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.133e-05/0.5521, allocations: 97.66 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.614e-05/0.5521, allocations: 4.656 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.5521, allocations: 5.938 kB / 1.026 GB, free: 55.12 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.874e-05/0.5522, allocations: 314.9 kB / 1.026 GB, free: 54.8 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001551/0.5523, allocations: 51.97 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001458/0.5525, allocations: 46.25 kB / 1.026 GB, free: 54.79 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002889/0.5528, allocations: 102.7 kB / 1.026 GB, free: 54.77 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.5528, allocations: 3.938 kB / 1.026 GB, free: 54.76 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003294/0.5531, allocations: 130.8 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.748e-05/0.5532, allocations: 10.42 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.5532, allocations: 4 kB / 1.026 GB, free: 54.71 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.498e-05/0.5532, allocations: 5.406 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000122/0.5533, allocations: 20.39 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/0.5533, allocations: 3.938 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.25e-05/0.5534, allocations: 24.22 kB / 1.026 GB, free: 54.7 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.5534, allocations: 2.109 kB / 1.026 GB, free: 54.7 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.532e-05/0.5535, allocations: 126 kB / 1.026 GB, free: 54.57 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.5535, allocations: 10.47 kB / 1.026 GB, free: 54.56 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003548/0.5539, allocations: 142.5 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.5539, allocations: 0 / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.326e-06/0.5539, allocations: 0 / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.036e-06/0.5539, allocations: 1.078 kB / 1.027 GB, free: 54.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001251/0.554, allocations: 180 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.554, allocations: 2.875 kB / 1.027 GB, free: 54.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.167e-05/0.5541, allocations: 23.33 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.5542, allocations: 0 / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.077e-05/0.5542, allocations: 2.141 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.5542, allocations: 6.75 kB / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.5542, allocations: 0 / 1.027 GB, free: 54.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003265/0.5545, allocations: 231.4 kB / 1.027 GB, free: 54.15 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.5545, allocations: 77.81 kB / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.5546, allocations: 3.516 kB / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001055/0.5547, allocations: 24.42 kB / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.301e-05/0.5547, allocations: 7.188 kB / 1.027 GB, free: 54.04 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.97e-06/0.5547, allocations: 0.9062 kB / 1.027 GB, free: 54.04 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.585e-05/0.5548, allocations: 99.17 kB / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/0.5548, allocations: 0 / 1.027 GB, free: 53.96 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.000213/0.555, allocations: 13.02 kB / 1.027 GB, free: 53.96 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.0001187/0.5551, allocations: 113.6 kB / 1.027 GB, free: 53.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.5555, allocations: 102.7 kB / 1.027 GB, free: 53.85 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.833e-06/0.5555, allocations: 0 / 1.027 GB, free: 53.85 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.5557, allocations: 49.25 kB / 1.027 GB, free: 53.84 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002265/0.5559, allocations: 19.78 kB / 1.027 GB, free: 53.83 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002782/0.5562, allocations: 161.1 kB / 1.028 GB, free: 53.7 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001213/0.5563, allocations: 0.6866 MB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.199e-05/0.5564, allocations: 6.609 kB / 1.028 GB, free: 53 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.998e-05/0.5564, allocations: 13.56 kB / 1.028 GB, free: 52.99 MB / 0.698 GB Notification: Performance of SimCode: time 2.21e-07/0.5564, allocations: 0 / 1.028 GB, free: 52.99 MB / 0.698 GB Notification: Performance of Templates: time 0.002581/0.559, allocations: 0.6593 MB / 1.029 GB, free: 52.93 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)