Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic",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.43/1.43, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001401/0.001401, allocations: 180 kB / 326.5 MB, free: 2.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 2.027/2.027, allocations: 205.4 MB / 0.5775 GB, free: 20.28 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.0008881/0.000888, allocations: 94.14 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003545/0.0003547, allocations: 15.84 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2443/0.2447, allocations: 106.3 MB / 0.9002 GB, free: 63.83 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1887/0.4335, allocations: 131.7 MB / 1.029 GB, free: 11.97 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002718/0.4338, allocations: 79.95 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003374/0.4372, allocations: 1.07 MB / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.777e-06/0.4372, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.062e-05/0.4373, allocations: 0 / 1.03 GB, free: 10.81 MB / 0.6823 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.000607/0.4379, allocations: 395 kB / 1.03 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.406e-05/0.4379, allocations: 8.031 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.697e-05/0.438, allocations: 30.56 kB / 1.03 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.438e-05/0.438, allocations: 7.906 kB / 1.03 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001475/0.4382, allocations: 182.9 kB / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.4382, allocations: 0 / 1.03 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.28e-05/0.4382, allocations: 4 kB / 1.03 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002887/0.4385, allocations: 89.64 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.164e-05/0.4386, allocations: 4 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.4386, allocations: 0 / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.145e-06/0.4386, allocations: 3.984 kB / 1.031 GB, free: 10 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003331/0.4389, allocations: 103.8 kB / 1.031 GB, free: 9.898 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006137/0.4395, allocations: 324.9 kB / 1.031 GB, free: 9.531 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002334/0.4398, allocations: 82.53 kB / 1.031 GB, free: 9.441 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001978/0.44, allocations: 105.2 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.091e-05/0.44, allocations: 30.56 kB / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=3): time 1.863e-06/0.4401, allocations: 0 / 1.031 GB, free: 9.281 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3): time 0.0006075/0.4407, allocations: 189.4 kB / 1.031 GB, free: 9.09 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.524e-05/0.4407, allocations: 55.41 kB / 1.031 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001118/0.4408, allocations: 115.4 kB / 1.032 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.4409, allocations: 29.64 kB / 1.032 GB, free: 8.871 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.315e-05/0.441, allocations: 96.12 kB / 1.032 GB, free: 8.773 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.441, allocations: 7.844 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.889e-06/0.441, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001347/0.4411, allocations: 330.8 kB / 1.032 GB, free: 8.434 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001498/0.4413, allocations: 43.95 kB / 1.032 GB, free: 8.391 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001568/0.4415, allocations: 51.97 kB / 1.032 GB, free: 8.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001519/0.4416, allocations: 47.95 kB / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4416, allocations: 0 / 1.032 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000347/0.442, allocations: 141.5 kB / 1.032 GB, free: 8.148 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.442, allocations: 7.938 kB / 1.032 GB, free: 8.141 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.442, allocations: 4 kB / 1.032 GB, free: 8.137 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.442, allocations: 3.984 kB / 1.032 GB, free: 8.133 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000137/0.4422, allocations: 19.98 kB / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.674e-06/0.4422, allocations: 0 / 1.032 GB, free: 8.113 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.38e-05/0.4423, allocations: 15.98 kB / 1.032 GB, free: 8.098 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.436e-05/0.4423, allocations: 8 kB / 1.032 GB, free: 8.09 MB / 0.6823 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 9.449e-05/0.4424, allocations: 121.8 kB / 1.032 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.843e-05/0.4425, allocations: 3.906 kB / 1.032 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004045/0.4429, allocations: 153.4 kB / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.4429, allocations: 0 / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4429, allocations: 0 / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.4429, allocations: 0 / 1.033 GB, free: 7.801 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001881/0.4431, allocations: 181.6 kB / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.4431, allocations: 0 / 1.033 GB, free: 7.574 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/0.4432, allocations: 27.97 kB / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.4432, allocations: 0 / 1.033 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.4432, allocations: 4 kB / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.4432, allocations: 0 / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.4433, allocations: 0 / 1.033 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003858/0.4436, allocations: 231.7 kB / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 3.878e-05/0.4437, allocations: 81.09 kB / 1.033 GB, free: 7.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.797e-05/0.4437, allocations: 8 kB / 1.033 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001154/0.4438, allocations: 19.98 kB / 1.033 GB, free: 7.176 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.896e-05/0.4439, allocations: 7.969 kB / 1.033 GB, free: 7.168 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.208e-05/0.4439, allocations: 8 kB / 1.033 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.455e-05/0.444, allocations: 99.25 kB / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.61e-07/0.444, allocations: 0 / 1.033 GB, free: 7.062 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002286/0.4442, allocations: 19.91 kB / 1.033 GB, free: 7.043 MB / 0.6823 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.000686/0.4449, allocations: 0.7625 MB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003362/0.4453, allocations: 103.8 kB / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.4453, allocations: 0 / 1.034 GB, free: 6.152 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001628/0.4454, allocations: 59.95 kB / 1.034 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001823/0.4456, allocations: 7.938 kB / 1.034 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004859/0.4461, allocations: 194.3 kB / 1.034 GB, free: 5.855 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002497/0.4464, allocations: 0.6926 MB / 1.035 GB, free: 5.137 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.489e-05/0.4464, allocations: 7.859 kB / 1.035 GB, free: 5.129 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.4465, allocations: 15.42 kB / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of SimCode: time 2.1e-07/0.4465, allocations: 0 / 1.035 GB, free: 5.113 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01299/0.4595, allocations: 1.523 MB / 1.037 GB, free: 3.719 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/0.4597, allocations: 182.5 kB / 1.037 GB, free: 3.48 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.657/2.117, allocations: 0 / 1.037 GB, free: 3.48 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)