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.752/1.752, allocations: 288.2 MB / 303.2 MB, free: 8.148 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.001223/0.001223, allocations: 179 kB / 371.8 MB, free: 10.27 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.926/1.926, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.0009017/0.0009014, allocations: 94.91 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004764/0.0004763, allocations: 16.56 kB / 0.8669 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2824, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.771/1.053, allocations: 138 MB / 1.114 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002123/1.054, allocations: 73.58 kB / 1.114 GB, free: 16.45 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00333/1.057, allocations: 1.082 MB / 1.115 GB, free: 32.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.723e-06/1.057, allocations: 0 / 1.115 GB, free: 32.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.901e-06/1.057, allocations: 0 / 1.115 GB, free: 32.09 MB / 0.698 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.0004235/1.058, allocations: 387.1 kB / 1.116 GB, free: 31.71 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/1.058, allocations: 15.48 kB / 1.116 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.522e-05/1.058, allocations: 30.56 kB / 1.116 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.588e-05/1.058, allocations: 3.875 kB / 1.116 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/1.058, allocations: 177.4 kB / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/1.058, allocations: 0.875 kB / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.412e-05/1.058, allocations: 7.906 kB / 1.116 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002645/1.058, allocations: 84.55 kB / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/1.058, allocations: 1.312 kB / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.287e-06/1.058, allocations: 0 / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-06/1.058, allocations: 0 / 1.116 GB, free: 31.43 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003066/1.058, allocations: 105.2 kB / 1.116 GB, free: 31.42 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004914/1.059, allocations: 325 kB / 1.116 GB, free: 31.15 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/1.059, allocations: 81.86 kB / 1.117 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001736/1.059, allocations: 105.8 kB / 1.117 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/1.059, allocations: 37.69 kB / 1.117 GB, free: 30.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=3): time 1.432e-06/1.059, allocations: 0 / 1.117 GB, free: 30.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=3): time 0.0005503/1.06, allocations: 190.6 kB / 1.117 GB, free: 30.95 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.439e-05/1.06, allocations: 51.41 kB / 1.117 GB, free: 30.88 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.188e-05/1.06, allocations: 119.4 kB / 1.117 GB, free: 30.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.483e-05/1.06, allocations: 25.7 kB / 1.117 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.859e-05/1.06, allocations: 87.98 kB / 1.117 GB, free: 30.68 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.812e-05/1.06, allocations: 26.72 kB / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.489e-06/1.06, allocations: 0 / 1.117 GB, free: 30.66 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001118/1.06, allocations: 318.7 kB / 1.117 GB, free: 30.35 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001428/1.06, allocations: 51.75 kB / 1.117 GB, free: 30.34 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001265/1.061, allocations: 48.02 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001327/1.061, allocations: 53.48 kB / 1.118 GB, free: 30.34 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/1.061, allocations: 3.938 kB / 1.118 GB, free: 30.33 MB / 0.698 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002974/1.061, allocations: 135.6 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/1.061, allocations: 3.812 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/1.061, allocations: 0 / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.272e-05/1.061, allocations: 4.203 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001312/1.061, allocations: 22.67 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/1.061, allocations: 0.7031 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.131e-05/1.061, allocations: 22.2 kB / 1.118 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.929e-05/1.061, allocations: 0 / 1.118 GB, free: 30.29 MB / 0.698 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 8.785e-05/1.061, allocations: 120.6 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/1.061, allocations: 7.891 kB / 1.118 GB, free: 30.17 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003563/1.062, allocations: 150.2 kB / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/1.062, allocations: 0 / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.062, allocations: 2.812 kB / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.062, allocations: 9.562 kB / 1.118 GB, free: 30.12 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001508/1.062, allocations: 180.5 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/1.062, allocations: 0 / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.591e-05/1.062, allocations: 20.83 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.592e-06/1.062, allocations: 0 / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-06/1.062, allocations: 0 / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/1.062, allocations: 0 / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/1.062, allocations: 7.844 kB / 1.118 GB, free: 29.93 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003428/1.063, allocations: 242.5 kB / 1.118 GB, free: 29.78 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.154e-05/1.063, allocations: 88 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.499e-05/1.063, allocations: 0 / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001059/1.063, allocations: 14.88 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.325e-05/1.063, allocations: 2.906 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/1.063, allocations: 3.812 kB / 1.119 GB, free: 29.68 MB / 0.698 GB Notification: Performance of sorting global known variables: time 6.682e-05/1.063, allocations: 110.4 kB / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.52e-07/1.063, allocations: 0 / 1.119 GB, free: 29.6 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002084/1.063, allocations: 15.59 kB / 1.119 GB, free: 29.59 MB / 0.698 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.0006523/1.064, allocations: 0.7698 MB / 1.119 GB, free: 28.93 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003258/1.064, allocations: 102 kB / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.864e-06/1.064, allocations: 0 / 1.12 GB, free: 28.92 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001338/1.064, allocations: 57.88 kB / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001418/1.064, allocations: 6.953 kB / 1.12 GB, free: 28.91 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004163/1.065, allocations: 195.2 kB / 1.12 GB, free: 28.74 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002602/1.065, allocations: 0.6898 MB / 1.12 GB, free: 28.05 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.988e-05/1.065, allocations: 7.859 kB / 1.12 GB, free: 28.04 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.484e-05/1.065, allocations: 15.3 kB / 1.121 GB, free: 28.04 MB / 0.698 GB Notification: Performance of SimCode: time 2.6e-07/1.065, allocations: 0 / 1.121 GB, free: 28.04 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.011/1.076, allocations: 1.54 MB / 1.122 GB, free: 27.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001192/1.076, allocations: 192 kB / 1.122 GB, free: 27.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.424/2.5, allocations: 0 / 1.122 GB, free: 27.62 MB / 0.698 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)