Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") translateModel(Buildings.Utilities.Math.Examples.QuadraticLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.777/2.777, allocations: 287.3 MB / 302.3 MB, free: 8.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001555/0.001555, allocations: 185.9 kB / 370.8 MB, free: 10.84 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.197/2.197, allocations: 205.4 MB / 0.6295 GB, free: 10.59 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 100.6 kB / 0.7428 GB, free: 6.594 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005227/0.0005229, allocations: 12.69 kB / 0.8656 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2296, allocations: 115.3 MB / 0.9782 GB, free: 28.39 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001925/0.2316, allocations: 1.191 MB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0003298/0.2319, allocations: 104.6 kB / 0.9795 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.201e-05/0.232, allocations: 0 / 0.9795 GB, free: 27.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 4.476e-05/0.2321, allocations: 3.938 kB / 0.9795 GB, free: 27.07 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.12e-05/0.2321, allocations: 15.97 kB / 0.9795 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001966/0.2324, allocations: 15.92 kB / 0.9795 GB, free: 27.04 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.004e-05/0.2324, allocations: 27.91 kB / 0.9795 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000106/0.2326, allocations: 8 kB / 0.9795 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.584e-05/0.2326, allocations: 19.97 kB / 0.9795 GB, free: 26.99 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.715e-05/0.2327, allocations: 19.91 kB / 0.9796 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.2327, allocations: 4 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.546e-05/0.2328, allocations: 15.98 kB / 0.9796 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.802e-05/0.2329, allocations: 15.92 kB / 0.9796 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.623e-05/0.2329, allocations: 25.7 kB / 0.9796 GB, free: 26.9 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001031/0.233, allocations: 35.94 kB / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.233, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.003e-06/0.233, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.233, allocations: 0 / 0.9797 GB, free: 26.87 MB / 0.6198 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.0006237/0.2337, allocations: 383.4 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.2337, allocations: 16.02 kB / 0.98 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.14e-05/0.2338, allocations: 7.844 kB / 0.98 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001292/0.2339, allocations: 176 kB / 0.9802 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.896e-05/0.234, allocations: 8 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.956e-05/0.234, allocations: 4 kB / 0.9802 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003863/0.2344, allocations: 81.66 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.2344, allocations: 0 / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.391e-05/0.2344, allocations: 0 / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/0.2345, allocations: 7.938 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005463/0.235, allocations: 99.91 kB / 0.9804 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004299/0.2355, allocations: 292.7 kB / 0.9807 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003432/0.2358, allocations: 78.53 kB / 0.9808 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002982/0.2361, allocations: 105.2 kB / 0.9809 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.2362, allocations: 30.56 kB / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.737e-06/0.2362, allocations: 0 / 0.9809 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0009376/0.2371, allocations: 189.5 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.21e-05/0.2372, allocations: 55.39 kB / 0.9811 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001149/0.2373, allocations: 123 kB / 0.9812 GB, free: 25.04 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.224e-05/0.2373, allocations: 25.7 kB / 0.9813 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.2374, allocations: 100 kB / 0.9814 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.203e-05/0.2374, allocations: 3.906 kB / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.2375, allocations: 0 / 0.9814 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.579e-05/0.2375, allocations: 326.8 kB / 0.9817 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002589/0.2378, allocations: 43.97 kB / 0.9817 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002562/0.2381, allocations: 51.95 kB / 0.9818 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002592/0.2383, allocations: 43.97 kB / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.656e-06/0.2384, allocations: 0 / 0.9818 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0006157/0.239, allocations: 141.8 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.951e-05/0.239, allocations: 4 kB / 0.9819 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.076e-06/0.239, allocations: 7.984 kB / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.225e-05/0.2391, allocations: 0 / 0.9819 GB, free: 24.28 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000206/0.2393, allocations: 19.98 kB / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.484e-06/0.2393, allocations: 0 / 0.982 GB, free: 24.26 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001449/0.2395, allocations: 19.97 kB / 0.982 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.2395, allocations: 4 kB / 0.982 GB, free: 24.24 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.281e-05/0.2396, allocations: 119.7 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.651e-05/0.2396, allocations: 4 kB / 0.9821 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000625/0.2403, allocations: 145.5 kB / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/0.2403, allocations: 0 / 0.9822 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/0.2403, allocations: 3.938 kB / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2403, allocations: 0 / 0.9823 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000196/0.2405, allocations: 185.5 kB / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.2405, allocations: 0 / 0.9824 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001708/0.2407, allocations: 23.98 kB / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.2407, allocations: 0 / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.047e-05/0.2407, allocations: 0 / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.2408, allocations: 0 / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.2408, allocations: 0 / 0.9825 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005986/0.2414, allocations: 227.4 kB / 0.9827 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.048e-05/0.2414, allocations: 85.02 kB / 0.9827 GB, free: 23.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.2415, allocations: 11.94 kB / 0.9828 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001752/0.2416, allocations: 19.92 kB / 0.9828 GB, free: 23.33 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.821e-05/0.2417, allocations: 3.984 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.766e-06/0.2417, allocations: 4 kB / 0.9828 GB, free: 23.32 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.866e-05/0.2418, allocations: 100.5 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.41e-07/0.2418, allocations: 3.938 kB / 0.9829 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003249/0.2422, allocations: 8 kB / 0.9829 GB, free: 23.21 MB / 0.6198 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001613/0.2423, allocations: 111.2 kB / 0.983 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0006307/0.243, allocations: 95.92 kB / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.267e-06/0.243, allocations: 0 / 0.9831 GB, free: 23 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002763/0.2433, allocations: 55.95 kB / 0.9831 GB, free: 22.95 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002338/0.2435, allocations: 7.953 kB / 0.9832 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004132/0.244, allocations: 160.6 kB / 0.9833 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001529/0.2441, allocations: 0.6887 MB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.913e-05/0.2442, allocations: 4 kB / 0.984 GB, free: 22.04 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.626e-05/0.2442, allocations: 11.44 kB / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of SimCode: time 1.152e-06/0.2442, allocations: 0 / 0.984 GB, free: 22.02 MB / 0.6198 GB Notification: Performance of Templates: time 0.003522/0.2478, allocations: 0.6449 MB / 0.9846 GB, free: 21.38 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.makefile (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & ./Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)