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/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.875/1.875, allocations: 292.6 MB / 307.5 MB, free: 5.195 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.001335/0.001334, allocations: 187.7 kB / 377.1 MB, free: 1.547 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.784/1.784, allocations: 205.4 MB / 0.6366 GB, free: 8.633 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008784/0.0008784, allocations: 90.22 kB / 0.7509 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003788/0.0003789, allocations: 12 kB / 0.8749 GB, free: 11.13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2641/0.2645, allocations: 116.3 MB / 0.9884 GB, free: 6.68 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6889/0.9535, allocations: 139 MB / 1.124 GB, free: 35.64 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002529/0.9538, allocations: 70.36 kB / 1.124 GB, free: 35.59 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003127/0.957, allocations: 1.07 MB / 1.125 GB, free: 34.77 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.084e-06/0.957, allocations: 3.125 kB / 1.125 GB, free: 34.77 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.214e-06/0.957, allocations: 4 kB / 1.125 GB, free: 34.76 MB / 0.7292 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.0004065/0.9574, allocations: 393.8 kB / 1.126 GB, free: 34.35 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.9575, allocations: 16.02 kB / 1.126 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.451e-05/0.9575, allocations: 34.5 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.845e-05/0.9575, allocations: 10.72 kB / 1.126 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.058e-05/0.9576, allocations: 174.1 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/0.9577, allocations: 1.219 kB / 1.126 GB, free: 34.08 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.245e-05/0.9577, allocations: 7.438 kB / 1.126 GB, free: 34.07 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.9579, allocations: 83.45 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.958, allocations: 0 / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.958, allocations: 3.188 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.958, allocations: 4.562 kB / 1.126 GB, free: 34 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002862/0.9583, allocations: 96.86 kB / 1.126 GB, free: 33.92 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004653/0.9587, allocations: 328.7 kB / 1.126 GB, free: 33.58 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001981/0.959, allocations: 83.7 kB / 1.126 GB, free: 33.51 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001501/0.9591, allocations: 104.3 kB / 1.127 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.562e-05/0.9591, allocations: 35.12 kB / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.9591, allocations: 0.5625 kB / 1.127 GB, free: 33.35 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3): time 0.0005684/0.9597, allocations: 189.9 kB / 1.127 GB, free: 33.2 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.474e-05/0.9598, allocations: 51.41 kB / 1.127 GB, free: 33.13 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.246e-05/0.9599, allocations: 116 kB / 1.127 GB, free: 33.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.287e-05/0.9599, allocations: 29.7 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.9599, allocations: 95.19 kB / 1.127 GB, free: 32.89 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.93e-05/0.96, allocations: 16.69 kB / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.619e-06/0.96, allocations: 0 / 1.127 GB, free: 32.88 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.745e-05/0.9601, allocations: 322.8 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001505/0.9602, allocations: 49.64 kB / 1.127 GB, free: 32.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.9604, allocations: 54.31 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.9605, allocations: 42.55 kB / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.9605, allocations: 0 / 1.127 GB, free: 32.45 MB / 0.7292 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003253/0.9608, allocations: 139.5 kB / 1.128 GB, free: 32.33 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.835e-05/0.9609, allocations: 4.625 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/0.9609, allocations: 8 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.9609, allocations: 0.5625 kB / 1.128 GB, free: 32.32 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001364/0.9611, allocations: 23.55 kB / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.9611, allocations: 0 / 1.128 GB, free: 32.3 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.494e-05/0.9612, allocations: 19.38 kB / 1.128 GB, free: 32.29 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.126e-05/0.9612, allocations: 7.516 kB / 1.128 GB, free: 32.28 MB / 0.7292 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.402e-05/0.9613, allocations: 117.8 kB / 1.128 GB, free: 32.16 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.9613, allocations: 4.938 kB / 1.128 GB, free: 32.15 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003766/0.9617, allocations: 152.8 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.9617, allocations: 1.312 kB / 1.128 GB, free: 32.03 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.9617, allocations: 4 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.9617, allocations: 0.5156 kB / 1.128 GB, free: 32.02 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.9618, allocations: 176.1 kB / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.9619, allocations: 0 / 1.128 GB, free: 31.81 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001045/0.962, allocations: 30.7 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.034e-06/0.962, allocations: 0 / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.962, allocations: 0 / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.962, allocations: 1.031 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.962, allocations: 0.625 kB / 1.128 GB, free: 31.79 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003543/0.9624, allocations: 239.9 kB / 1.128 GB, free: 31.57 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.518e-05/0.9624, allocations: 81.02 kB / 1.128 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.513e-05/0.9624, allocations: 4 kB / 1.128 GB, free: 31.46 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001092/0.9625, allocations: 15.47 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.351e-05/0.9626, allocations: 11.97 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.488e-06/0.9626, allocations: 1.281 kB / 1.128 GB, free: 31.45 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 4.362e-05/0.9627, allocations: 102.6 kB / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9627, allocations: 0 / 1.129 GB, free: 31.35 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002134/0.9629, allocations: 12 kB / 1.129 GB, free: 31.34 MB / 0.7292 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.0005695/0.9635, allocations: 0.7746 MB / 1.129 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003167/0.9638, allocations: 97.14 kB / 1.129 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.9638, allocations: 3.938 kB / 1.129 GB, free: 30.49 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001475/0.964, allocations: 62.25 kB / 1.13 GB, free: 30.44 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001581/0.9641, allocations: 8.219 kB / 1.13 GB, free: 30.43 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004288/0.9646, allocations: 193.8 kB / 1.13 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001195/0.9647, allocations: 0.6923 MB / 1.13 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.303e-05/0.9647, allocations: 8.953 kB / 1.13 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.404e-05/0.9648, allocations: 11.44 kB / 1.13 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/0.9648, allocations: 0 / 1.13 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01441/0.9792, allocations: 1.535 MB / 1.132 GB, free: 28.69 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000193/0.9794, allocations: 174.7 kB / 1.132 GB, free: 28.45 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.61/2.589, allocations: 3.938 kB / 1.132 GB, free: 28.45 MB / 0.7292 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/linux/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)