Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001079/0.001079, allocations: 90.44 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.008393/0.008394, allocations: 172.5 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.652/1.652, allocations: 205.4 MB / 222.4 MB, free: 5.562 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.638/1.638, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005679/0.0005679, allocations: 14.59 kB / 0.6744 GB, free: 25.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2348/0.2354, allocations: 116.3 MB / 0.788 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.QuadraticLinear): time 0.001535/0.2369, allocations: 1.203 MB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003308/0.2373, allocations: 120.6 kB / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.2373, allocations: 0 / 0.7893 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.296e-05/0.2374, allocations: 11.86 kB / 0.7893 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.666e-05/0.2374, allocations: 7.938 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001874/0.2376, allocations: 15.98 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 8.315e-05/0.2377, allocations: 39.91 kB / 0.7894 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 9.403e-05/0.2378, allocations: 8 kB / 0.7894 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.862e-05/0.2379, allocations: 23.92 kB / 0.7894 GB, free: 10.05 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.67e-05/0.238, allocations: 15.92 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.527e-05/0.238, allocations: 4 kB / 0.7894 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 5.929e-05/0.238, allocations: 19.92 kB / 0.7894 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.862e-05/0.2381, allocations: 15.91 kB / 0.7894 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.577e-05/0.2381, allocations: 41.58 kB / 0.7895 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.2382, allocations: 52.14 kB / 0.7895 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2383, allocations: 0 / 0.7895 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2383, allocations: 0 / 0.7895 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.521e-06/0.2383, allocations: 0 / 0.7895 GB, free: 9.895 MB / 0.6075 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.0004737/0.2387, allocations: 391.2 kB / 0.7899 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.501e-05/0.2388, allocations: 8.031 kB / 0.7899 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.387e-05/0.2388, allocations: 34.75 kB / 0.7899 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.575e-05/0.2389, allocations: 8.844 kB / 0.7899 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000117/0.239, allocations: 176.3 kB / 0.7901 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.239, allocations: 4.375 kB / 0.7901 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.313e-05/0.239, allocations: 4.375 kB / 0.7901 GB, free: 9.184 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.2393, allocations: 82.22 kB / 0.7902 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.277e-06/0.2393, allocations: 3.938 kB / 0.7902 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.748e-06/0.2393, allocations: 4 kB / 0.7902 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.2393, allocations: 11.92 kB / 0.7902 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003152/0.2396, allocations: 95.92 kB / 0.7903 GB, free: 8.984 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003713/0.24, allocations: 288.8 kB / 0.7906 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002177/0.2403, allocations: 78.53 kB / 0.7907 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001626/0.2404, allocations: 52.91 kB / 0.7907 GB, free: 8.512 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002048/0.2406, allocations: 109.1 kB / 0.7908 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/0.2407, allocations: 38.5 kB / 0.7909 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.2407, allocations: 3.938 kB / 0.7909 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005644/0.2412, allocations: 177.5 kB / 0.791 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.859e-05/0.2413, allocations: 51.41 kB / 0.7911 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.494e-05/0.2414, allocations: 137 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.5e-05/0.2414, allocations: 25.7 kB / 0.7912 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.98e-05/0.2415, allocations: 84.14 kB / 0.7913 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.167e-05/0.2415, allocations: 15.81 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.2415, allocations: 13.7 kB / 0.7913 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.365e-05/0.2416, allocations: 318.8 kB / 0.7916 GB, free: 7.48 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.2418, allocations: 47.95 kB / 0.7917 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001481/0.2419, allocations: 47.91 kB / 0.7917 GB, free: 7.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002953/0.2422, allocations: 104.7 kB / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.2422, allocations: 0 / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003477/0.2426, allocations: 133.6 kB / 0.792 GB, free: 7.145 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.2426, allocations: 8 kB / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.549e-06/0.2426, allocations: 0 / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.989e-06/0.2426, allocations: 0 / 0.792 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001264/0.2428, allocations: 19.98 kB / 0.792 GB, free: 7.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.375e-06/0.2428, allocations: 11.91 kB / 0.792 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.278e-05/0.2429, allocations: 19.98 kB / 0.792 GB, free: 7.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.672e-06/0.2429, allocations: 0 / 0.792 GB, free: 7.086 MB / 0.6075 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 7.6e-05/0.243, allocations: 121.7 kB / 0.7921 GB, free: 6.957 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.621e-05/0.243, allocations: 7.906 kB / 0.7921 GB, free: 6.949 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004015/0.2434, allocations: 141.5 kB / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.524e-06/0.2434, allocations: 0 / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.867e-06/0.2434, allocations: 0 / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2434, allocations: 0 / 0.7923 GB, free: 6.797 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00016/0.2436, allocations: 181.6 kB / 0.7925 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2436, allocations: 0 / 0.7925 GB, free: 6.57 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.664e-05/0.2437, allocations: 23.98 kB / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.2437, allocations: 384 / 0.7925 GB, free: 6.547 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.258e-06/0.2437, allocations: 4 kB / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2437, allocations: 0 / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.2437, allocations: 0 / 0.7925 GB, free: 6.543 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000391/0.2441, allocations: 243.2 kB / 0.7927 GB, free: 6.289 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.187e-05/0.2442, allocations: 85.02 kB / 0.7928 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.2442, allocations: 0 / 0.7928 GB, free: 6.188 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000109/0.2443, allocations: 19.97 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.03e-05/0.2444, allocations: 8 kB / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.2444, allocations: 0 / 0.7928 GB, free: 6.16 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.556e-05/0.2444, allocations: 99.27 kB / 0.7929 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2444, allocations: 0 / 0.7929 GB, free: 6.062 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002225/0.2447, allocations: 19.86 kB / 0.7929 GB, free: 6.043 MB / 0.6075 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.0006677/0.2453, allocations: 0.7709 MB / 0.7937 GB, free: 5.246 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003488/0.2457, allocations: 95.92 kB / 0.7938 GB, free: 5.152 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2457, allocations: 4 kB / 0.7938 GB, free: 5.148 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.2459, allocations: 55.95 kB / 0.7938 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.2461, allocations: 0 / 0.7938 GB, free: 5.094 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004223/0.2466, allocations: 211.2 kB / 0.794 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001925/0.2468, allocations: 0.6926 MB / 0.7947 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.569e-05/0.2468, allocations: 0 / 0.7947 GB, free: 4.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.2468, allocations: 19.44 kB / 0.7947 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of SimCode: time 3.51e-07/0.2468, allocations: 0 / 0.7947 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01011/0.257, allocations: 1.543 MB / 0.7962 GB, free: 2.691 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001858/0.2572, allocations: 207.1 kB / 0.7964 GB, free: 2.43 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.668/1.925, allocations: 0 / 0.7964 GB, free: 2.43 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_8_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)