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.733/1.733, allocations: 289.7 MB / 302.2 MB, free: 2.223 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.001303/0.001303, allocations: 181.4 kB / 371.6 MB, free: 3.367 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.636/1.636, allocations: 205.1 MB / 0.6309 GB, free: 11.77 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.0008877/0.0008882, allocations: 93.48 kB / 0.745 GB, free: 54.59 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 5.007e-05/5.023e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2648/0.2649, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6467/0.9117, allocations: 138.9 MB / 1.116 GB, free: 44.72 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000192/0.9119, allocations: 71.61 kB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002824/0.9148, allocations: 1.08 MB / 1.117 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.162e-06/0.9148, allocations: 0 / 1.117 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 6.993e-06/0.9148, allocations: 0 / 1.117 GB, free: 43.96 MB / 0.7448 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.000376/0.9152, allocations: 376.2 kB / 1.117 GB, free: 43.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.307e-05/0.9152, allocations: 8.031 kB / 1.117 GB, free: 43.56 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.343e-05/0.9153, allocations: 35.11 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.966e-05/0.9153, allocations: 9.406 kB / 1.117 GB, free: 43.52 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.61e-05/0.9154, allocations: 170.9 kB / 1.117 GB, free: 43.31 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.9154, allocations: 15.67 kB / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.9155, allocations: 0 / 1.117 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001439/0.9156, allocations: 55.84 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.847e-06/0.9156, allocations: 1.078 kB / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.9156, allocations: 0 / 1.117 GB, free: 43.26 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.39e-06/0.9157, allocations: 4 kB / 1.117 GB, free: 43.25 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.272e-05/0.9157, allocations: 30.23 kB / 1.117 GB, free: 43.24 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004963/0.9162, allocations: 327.8 kB / 1.118 GB, free: 42.92 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 8.626e-05/0.9163, allocations: 45.19 kB / 1.118 GB, free: 42.88 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.743e-05/0.9164, allocations: 24.83 kB / 1.118 GB, free: 42.86 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.9166, allocations: 104.3 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.005e-05/0.9166, allocations: 37.98 kB / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 2.084e-06/0.9166, allocations: 0 / 1.118 GB, free: 42.7 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0001906/0.9168, allocations: 67.61 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.9168, allocations: 55.41 kB / 1.118 GB, free: 42.58 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.601e-05/0.9169, allocations: 114.8 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.118e-05/0.917, allocations: 26.27 kB / 1.118 GB, free: 42.45 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.426e-05/0.917, allocations: 94.89 kB / 1.118 GB, free: 42.36 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.917, allocations: 11.62 kB / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.917, allocations: 0 / 1.118 GB, free: 42.35 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.898e-05/0.9171, allocations: 324.9 kB / 1.118 GB, free: 42.03 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.872e-05/0.9172, allocations: 22.22 kB / 1.119 GB, free: 42.02 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.721e-05/0.9172, allocations: 11.88 kB / 1.119 GB, free: 42.01 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.502e-05/0.9172, allocations: 19.11 kB / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9172, allocations: 0 / 1.119 GB, free: 42 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 9.708e-05/0.9174, allocations: 64 kB / 1.119 GB, free: 41.95 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.534e-05/0.9174, allocations: 4 kB / 1.119 GB, free: 41.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.1e-06/0.9174, allocations: 8 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.9174, allocations: 0 / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001414/0.9176, allocations: 26.11 kB / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.533e-06/0.9176, allocations: 0 / 1.119 GB, free: 41.92 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.356e-05/0.9177, allocations: 16.17 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.162e-05/0.9177, allocations: 5.75 kB / 1.119 GB, free: 41.9 MB / 0.7448 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 () * 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 4.433e-05/0.9177, allocations: 108.9 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.495e-05/0.9178, allocations: 3.906 kB / 1.119 GB, free: 41.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000149/0.9179, allocations: 86.09 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.9179, allocations: 4.312 kB / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.868e-06/0.9179, allocations: 0 / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.475e-06/0.918, allocations: 0 / 1.119 GB, free: 41.71 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000142/0.9181, allocations: 182.4 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.9181, allocations: 0.5625 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.942e-05/0.9182, allocations: 26.66 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.665e-06/0.9182, allocations: 0.5625 kB / 1.119 GB, free: 41.49 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.107e-05/0.9182, allocations: 4 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.9182, allocations: 3.891 kB / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.9183, allocations: 0 / 1.119 GB, free: 41.48 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001241/0.9184, allocations: 174 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.666e-05/0.9184, allocations: 92.33 kB / 1.119 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.62e-05/0.9184, allocations: 4.75 kB / 1.119 GB, free: 41.21 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001141/0.9186, allocations: 11.56 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.119e-05/0.9186, allocations: 7.516 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.406e-06/0.9186, allocations: 5.062 kB / 1.119 GB, free: 41.2 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.619e-05/0.9187, allocations: 99.05 kB / 1.119 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9187, allocations: 0 / 1.119 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0003309/0.919, allocations: 12 kB / 1.119 GB, free: 41.1 MB / 0.7448 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 () * 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.0005197/0.9196, allocations: 0.7069 MB / 1.12 GB, free: 40.39 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001625/0.9198, allocations: 30.31 kB / 1.12 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 3.317e-06/0.9198, allocations: 0 / 1.12 GB, free: 40.37 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 6.608e-05/0.9199, allocations: 21.11 kB / 1.12 GB, free: 40.36 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002839/0.9202, allocations: 9.406 kB / 1.12 GB, free: 40.35 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006296/0.9208, allocations: 134.5 kB / 1.12 GB, free: 40.2 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001251/0.921, allocations: 0.6978 MB / 1.121 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 5.712e-05/0.921, allocations: 0 / 1.121 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.9211, allocations: 19.62 kB / 1.121 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of SimCode: time 7.21e-07/0.9211, allocations: 0 / 1.121 GB, free: 39.49 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01867/0.9398, allocations: 1.53 MB / 1.123 GB, free: 38.68 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000199/0.9401, allocations: 163.7 kB / 1.123 GB, free: 38.45 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.624/2.564, allocations: 0 / 1.123 GB, free: 38.45 MB / 0.7448 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)