Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.QuadraticLinear,fileNamePrefix="Buildings_maint_7_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 7.0.3-maint.7.0.x/package.mo): time 1.465/1.465, allocations: 249.5 MB / 257 MB, free: 6.867 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001097/0.001097, allocations: 183.6 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.752/1.752, allocations: 205.3 MB / 0.5671 GB, free: 15.9 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009076/0.0009075, allocations: 102 kB / 0.6714 GB, free: 5.02 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.886e-05/1.876e-05, allocations: 4 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1576/0.1577, allocations: 106.3 MB / 0.8853 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6282/0.7859, allocations: 131.9 MB / 1.014 GB, free: 5.508 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001934/0.7861, allocations: 68.53 kB / 1.014 GB, free: 5.473 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003037/0.7892, allocations: 1.07 MB / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.693e-06/0.7892, allocations: 0 / 1.015 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 5.74e-06/0.7892, allocations: 0 / 1.015 GB, free: 4.492 MB / 0.6355 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.0004047/0.7896, allocations: 377.9 kB / 1.016 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.7897, allocations: 8.031 kB / 1.016 GB, free: 4.074 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.137e-05/0.7897, allocations: 11.41 kB / 1.016 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.7898, allocations: 174.9 kB / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.7898, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.907e-06/0.7899, allocations: 0 / 1.016 GB, free: 3.855 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.635e-05/0.79, allocations: 36.36 kB / 1.016 GB, free: 3.832 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.797e-05/0.7901, allocations: 59.55 kB / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.153e-06/0.7901, allocations: 0 / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.408e-06/0.7901, allocations: 0 / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.7901, allocations: 0 / 1.016 GB, free: 3.773 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004739/0.7906, allocations: 293.8 kB / 1.016 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 9.135e-05/0.7907, allocations: 48.3 kB / 1.016 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.927e-05/0.7907, allocations: 27.88 kB / 1.016 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001777/0.7909, allocations: 101.1 kB / 1.016 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.615e-05/0.791, allocations: 45.22 kB / 1.016 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.163e-06/0.791, allocations: 0 / 1.016 GB, free: 3.227 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002417/0.7912, allocations: 72.89 kB / 1.016 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.973e-05/0.7912, allocations: 55.41 kB / 1.017 GB, free: 3.094 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.164e-05/0.7913, allocations: 107.8 kB / 1.017 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.435e-05/0.7914, allocations: 29.7 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.675e-05/0.7914, allocations: 88.64 kB / 1.017 GB, free: 2.871 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.778e-05/0.7914, allocations: 11.89 kB / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.719e-06/0.7915, allocations: 0 / 1.017 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.7916, allocations: 322.2 kB / 1.017 GB, free: 2.539 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.972e-05/0.7916, allocations: 19.11 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.523e-05/0.7916, allocations: 14.31 kB / 1.017 GB, free: 2.516 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.3e-05/0.7917, allocations: 23.03 kB / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.342e-06/0.7917, allocations: 0 / 1.017 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001377/0.7919, allocations: 81.77 kB / 1.017 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.036e-05/0.7919, allocations: 4 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.7919, allocations: 0 / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.179e-05/0.7919, allocations: 4 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001383/0.7921, allocations: 19.98 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.847e-06/0.7921, allocations: 4 kB / 1.017 GB, free: 2.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.553e-05/0.7922, allocations: 19.97 kB / 1.017 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.7922, allocations: 0 / 1.017 GB, free: 2.371 MB / 0.6355 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 5.774e-05/0.7923, allocations: 104.9 kB / 1.017 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001451/0.7924, allocations: 79.02 kB / 1.017 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.7924, allocations: 7.906 kB / 1.017 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.7926, allocations: 95.17 kB / 1.017 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.7926, allocations: 0 / 1.017 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.7926, allocations: 0 / 1.017 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.785e-06/0.7927, allocations: 0.8125 kB / 1.017 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001429/0.7928, allocations: 160.2 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.7928, allocations: 0 / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001131/0.7929, allocations: 23.98 kB / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.7929, allocations: 0 / 1.018 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.056e-05/0.793, allocations: 8 kB / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.793, allocations: 0 / 1.018 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.793, allocations: 3.984 kB / 1.018 GB, free: 1.875 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000169/0.7931, allocations: 172.9 kB / 1.018 GB, free: 1.703 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.891e-05/0.7932, allocations: 85.28 kB / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.36e-05/0.7932, allocations: 0 / 1.018 GB, free: 1.602 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001171/0.7933, allocations: 23.97 kB / 1.018 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.32e-05/0.7934, allocations: 4 kB / 1.018 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.7934, allocations: 3.984 kB / 1.018 GB, free: 1.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.707e-05/0.7934, allocations: 97.83 kB / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.7934, allocations: 0 / 1.018 GB, free: 1.48 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002317/0.7937, allocations: 8 kB / 1.018 GB, free: 1.473 MB / 0.6355 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.0004674/0.7941, allocations: 0.722 MB / 1.019 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.009e-05/0.7942, allocations: 38.81 kB / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.273e-06/0.7943, allocations: 0 / 1.019 GB, free: 0.7109 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.7943, allocations: 19.92 kB / 1.019 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001499/0.7945, allocations: 6.125 kB / 1.019 GB, free: 0.6914 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000335/0.7948, allocations: 136.8 kB / 1.019 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002484/0.7951, allocations: 0.6885 MB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.096e-05/0.7951, allocations: 3.859 kB / 1.02 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.539e-05/0.7951, allocations: 25.73 kB / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.7951, allocations: 0 / 1.02 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01647/0.8116, allocations: 1.217 MB / 1.021 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001975/0.8119, allocations: 146.4 kB / 1.021 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.387/2.199, allocations: 0 / 1.021 GB, free: 14.41 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_QuadraticLinear.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.QuadraticLinear.pipe 2>&1)