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: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.639/2.639, allocations: 287.5 MB / 302.4 MB, free: 8.383 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.001479/0.001479, allocations: 186.7 kB / 371 MB, free: 10.86 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.462/2.462, allocations: 205.4 MB / 0.6297 GB, free: 10.6 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.001595/0.001595, allocations: 86.38 kB / 0.743 GB, free: 6.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004869/0.0004872, allocations: 19.62 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.219/0.2195, allocations: 115.3 MB / 0.9785 GB, free: 28.27 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001766/0.2214, allocations: 1.195 MB / 0.9796 GB, free: 27.06 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000322/0.2218, allocations: 112.5 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.326e-05/0.2218, allocations: 3.938 kB / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.072e-05/0.2218, allocations: 0 / 0.9797 GB, free: 26.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.501e-05/0.2219, allocations: 7.938 kB / 0.9797 GB, free: 26.94 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001945/0.2221, allocations: 19.95 kB / 0.9798 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 8.122e-05/0.2222, allocations: 35.86 kB / 0.9798 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.01e-05/0.2223, allocations: 11.98 kB / 0.9798 GB, free: 26.87 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.679e-05/0.2224, allocations: 15.94 kB / 0.9798 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.241e-05/0.2224, allocations: 23.91 kB / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.2225, allocations: 0 / 0.9798 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.935e-05/0.2226, allocations: 19.98 kB / 0.9799 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.478e-05/0.2226, allocations: 7.984 kB / 0.9799 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.987e-05/0.2227, allocations: 33.64 kB / 0.9799 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001033/0.2228, allocations: 40.2 kB / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.142e-06/0.2228, allocations: 0 / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.693e-06/0.2228, allocations: 0 / 0.9799 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.2228, allocations: 0 / 0.9799 GB, free: 26.73 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.0006041/0.2234, allocations: 383.1 kB / 0.9803 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.788e-05/0.2235, allocations: 12.02 kB / 0.9803 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.921e-05/0.2235, allocations: 42.55 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.341e-05/0.2236, allocations: 3.906 kB / 0.9804 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001139/0.2237, allocations: 167 kB / 0.9805 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.477e-05/0.2237, allocations: 8 kB / 0.9805 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.711e-05/0.2237, allocations: 3.938 kB / 0.9805 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003718/0.2241, allocations: 85.64 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.317e-06/0.2242, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.2242, allocations: 0 / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.2242, allocations: 7.984 kB / 0.9806 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000513/0.2247, allocations: 99.92 kB / 0.9807 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003896/0.2251, allocations: 288.8 kB / 0.981 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003213/0.2255, allocations: 78.48 kB / 0.9811 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002664/0.2257, allocations: 56.91 kB / 0.9811 GB, free: 25.35 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002788/0.226, allocations: 105.1 kB / 0.9812 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.29e-05/0.2261, allocations: 34.56 kB / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 3.116e-06/0.2261, allocations: 0 / 0.9813 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0009543/0.227, allocations: 181.5 kB / 0.9814 GB, free: 25 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.106e-05/0.2271, allocations: 55.34 kB / 0.9815 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000111/0.2272, allocations: 143.6 kB / 0.9816 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.165e-05/0.2272, allocations: 25.7 kB / 0.9816 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.735e-05/0.2273, allocations: 100 kB / 0.9817 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.929e-05/0.2273, allocations: 3.906 kB / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.981e-06/0.2273, allocations: 0 / 0.9817 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.2274, allocations: 318.8 kB / 0.982 GB, free: 24.33 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002587/0.2277, allocations: 47.95 kB / 0.9821 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002552/0.2279, allocations: 47.95 kB / 0.9821 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002568/0.2282, allocations: 47.97 kB / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.855e-06/0.2282, allocations: 0 / 0.9822 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005804/0.2288, allocations: 133.5 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.2289, allocations: 4 kB / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.2289, allocations: 0 / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.946e-05/0.2289, allocations: 0 / 0.9823 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002051/0.2291, allocations: 31.92 kB / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.444e-06/0.2291, allocations: 0 / 0.9823 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001402/0.2293, allocations: 19.94 kB / 0.9824 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.199e-05/0.2293, allocations: 0 / 0.9824 GB, free: 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 8.464e-05/0.2294, allocations: 119.1 kB / 0.9825 GB, free: 23.88 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.505e-05/0.2294, allocations: 4 kB / 0.9825 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006157/0.2301, allocations: 145.4 kB / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.208e-06/0.2301, allocations: 0 / 0.9826 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.2301, allocations: 3.984 kB / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.847e-06/0.2301, allocations: 0 / 0.9826 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001877/0.2303, allocations: 181.6 kB / 0.9828 GB, free: 23.49 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.2303, allocations: 3.984 kB / 0.9828 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.2305, allocations: 19.98 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.2305, allocations: 4 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.2305, allocations: 3.938 kB / 0.9828 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.2306, allocations: 4 kB / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.2306, allocations: 0 / 0.9828 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006107/0.2312, allocations: 235.8 kB / 0.9831 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.2312, allocations: 81.02 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.183e-05/0.2313, allocations: 4 kB / 0.9831 GB, free: 23.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001716/0.2314, allocations: 19.92 kB / 0.9832 GB, free: 23.09 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.829e-05/0.2315, allocations: 11.98 kB / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.777e-06/0.2315, allocations: 0 / 0.9832 GB, free: 23.07 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 6.25e-05/0.2316, allocations: 95.27 kB / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2316, allocations: 0 / 0.9833 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003098/0.2319, allocations: 15.94 kB / 0.9833 GB, free: 22.96 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.0008456/0.2328, allocations: 0.7747 MB / 0.984 GB, free: 22.16 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005857/0.2334, allocations: 99.92 kB / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.2334, allocations: 0 / 0.9841 GB, free: 22.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002812/0.2337, allocations: 55.89 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.2341, allocations: 4 kB / 0.9842 GB, free: 22.01 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006781/0.2348, allocations: 194.3 kB / 0.9844 GB, free: 21.78 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002102/0.235, allocations: 0.6848 MB / 0.985 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.698e-05/0.2351, allocations: 4 kB / 0.985 GB, free: 21.06 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.827e-05/0.2352, allocations: 15.42 kB / 0.9851 GB, free: 21.05 MB / 0.6198 GB Notification: Performance of SimCode: time 9.51e-07/0.2352, allocations: 4 kB / 0.9851 GB, free: 21.04 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01969/0.2549, allocations: 1.554 MB / 0.9866 GB, free: 19.62 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000214/0.2552, allocations: 182.1 kB / 0.9867 GB, free: 19.39 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.529/2.785, allocations: 0 / 0.9867 GB, free: 19.39 MB / 0.6198 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)