Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.749/1.749, allocations: 288.4 MB / 303.3 MB, free: 8.027 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.001028/0.001028, allocations: 185.6 kB / 372 MB, free: 10.26 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.574/1.574, allocations: 205.4 MB / 0.6307 GB, free: 10 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.0009642/0.0009639, allocations: 100.5 kB / 0.7441 GB, free: 5.918 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003939/0.0003939, allocations: 16.28 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.2204, allocations: 115.3 MB / 0.9796 GB, free: 27.56 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001452/0.2219, allocations: 1.188 MB / 0.9808 GB, free: 26.36 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002804/0.2222, allocations: 112.5 kB / 0.9809 GB, free: 26.25 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.397e-05/0.2222, allocations: 4 kB / 0.9809 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.648e-05/0.2223, allocations: 0 / 0.9809 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.633e-05/0.2223, allocations: 7.922 kB / 0.9809 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.2225, allocations: 15.98 kB / 0.9809 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.107e-05/0.2226, allocations: 39.84 kB / 0.981 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.454e-05/0.2227, allocations: 12 kB / 0.981 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.694e-05/0.2227, allocations: 15.92 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.453e-05/0.2228, allocations: 15.92 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.2228, allocations: 4 kB / 0.981 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.267e-05/0.2229, allocations: 19.97 kB / 0.981 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.347e-05/0.2229, allocations: 11.94 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.22e-05/0.223, allocations: 33.7 kB / 0.9811 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.477e-05/0.223, allocations: 36.2 kB / 0.9811 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.2231, allocations: 4 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2231, allocations: 4 kB / 0.9811 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2231, allocations: 0 / 0.9811 GB, free: 26.02 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.0004493/0.2235, allocations: 383.1 kB / 0.9815 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.2236, allocations: 12.02 kB / 0.9815 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.059e-05/0.2236, allocations: 30.56 kB / 0.9815 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.678e-05/0.2236, allocations: 11.91 kB / 0.9815 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.782e-05/0.2237, allocations: 171 kB / 0.9817 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.2238, allocations: 3.938 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.2238, allocations: 4 kB / 0.9817 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002585/0.224, allocations: 77.66 kB / 0.9818 GB, free: 25.24 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.774e-06/0.2241, allocations: 4 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2241, allocations: 8 kB / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.524e-06/0.2241, allocations: 0 / 0.9818 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002947/0.2244, allocations: 95.91 kB / 0.9819 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003306/0.2247, allocations: 292.8 kB / 0.9822 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002146/0.225, allocations: 82.47 kB / 0.9822 GB, free: 24.71 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000156/0.2251, allocations: 56.91 kB / 0.9823 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002167/0.2253, allocations: 113 kB / 0.9824 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.914e-05/0.2254, allocations: 34.5 kB / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.893e-06/0.2254, allocations: 0 / 0.9824 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005606/0.2259, allocations: 181.5 kB / 0.9826 GB, free: 24.29 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.512e-05/0.226, allocations: 59.41 kB / 0.9827 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.783e-05/0.2261, allocations: 128 kB / 0.9828 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.065e-05/0.2261, allocations: 29.7 kB / 0.9828 GB, free: 24.05 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.176e-05/0.2261, allocations: 96.03 kB / 0.9829 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.2262, allocations: 11.89 kB / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.318e-06/0.2262, allocations: 0 / 0.9829 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.882e-05/0.2262, allocations: 318.8 kB / 0.9832 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.2264, allocations: 51.95 kB / 0.9833 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.2265, allocations: 43.97 kB / 0.9833 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001408/0.2267, allocations: 47.95 kB / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.913e-06/0.2267, allocations: 0 / 0.9834 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003201/0.227, allocations: 137.5 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.562e-05/0.2271, allocations: 9.719 kB / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.2271, allocations: 0 / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.2271, allocations: 0 / 0.9835 GB, free: 23.34 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001258/0.2272, allocations: 27.92 kB / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.48e-06/0.2272, allocations: 0 / 0.9835 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.939e-05/0.2273, allocations: 15.98 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.2273, allocations: 0 / 0.9835 GB, free: 23.29 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 6.282e-05/0.2274, allocations: 125.8 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.2274, allocations: 4 kB / 0.9837 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000367/0.2278, allocations: 141.4 kB / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.2278, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/0.2278, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2278, allocations: 0 / 0.9838 GB, free: 23.01 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000124/0.228, allocations: 177.6 kB / 0.984 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.228, allocations: 4 kB / 0.984 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.735e-05/0.2281, allocations: 27.91 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.755e-06/0.2281, allocations: 4 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-06/0.2281, allocations: 4 kB / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.853e-06/0.2281, allocations: 0 / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2281, allocations: 0 / 0.984 GB, free: 22.75 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003379/0.2284, allocations: 227.4 kB / 0.9842 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.091e-05/0.2285, allocations: 88.95 kB / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.425e-05/0.2285, allocations: 0 / 0.9843 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001081/0.2286, allocations: 19.98 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.441e-05/0.2287, allocations: 3.984 kB / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.458e-06/0.2287, allocations: 0 / 0.9843 GB, free: 22.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.459e-05/0.2287, allocations: 109 kB / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2287, allocations: 0 / 0.9844 GB, free: 22.27 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002164/0.2289, allocations: 11.94 kB / 0.9845 GB, free: 22.26 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.00061/0.2296, allocations: 0.7673 MB / 0.9852 GB, free: 21.47 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0004274/0.23, allocations: 111.9 kB / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.905e-06/0.23, allocations: 0 / 0.9853 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002032/0.2302, allocations: 47.91 kB / 0.9854 GB, free: 21.31 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.2306, allocations: 12.84 kB / 0.9854 GB, free: 21.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004646/0.2311, allocations: 190.3 kB / 0.9855 GB, free: 21.07 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001237/0.2312, allocations: 0.6848 MB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.438e-05/0.2313, allocations: 8 kB / 0.9862 GB, free: 20.36 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.2313, allocations: 19.42 kB / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.2313, allocations: 0 / 0.9862 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01179/0.2431, allocations: 1.558 MB / 0.9878 GB, free: 18.92 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001565/0.2433, allocations: 194.6 kB / 0.9879 GB, free: 18.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.563/1.807, allocations: 0 / 0.9879 GB, free: 18.68 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)