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.481/1.481, allocations: 249.5 MB / 257 MB, free: 6.949 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.00112/0.00112, allocations: 188.8 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.768/1.768, allocations: 205.3 MB / 0.5671 GB, free: 15.83 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.0009027/0.0009029, allocations: 88.91 kB / 0.6714 GB, free: 4.949 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.353e-05/2.356e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2228, allocations: 106.3 MB / 0.8853 GB, free: 12.18 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7345/0.9573, allocations: 131.9 MB / 1.014 GB, free: 5.527 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/0.9576, allocations: 76.44 kB / 1.014 GB, free: 5.484 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003007/0.9606, allocations: 1.065 MB / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.643e-06/0.9606, allocations: 0 / 1.015 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.9606, allocations: 0 / 1.015 GB, free: 4.516 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.0004472/0.9611, allocations: 374.1 kB / 1.016 GB, free: 4.109 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.887e-05/0.9611, allocations: 8.031 kB / 1.016 GB, free: 4.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.9612, allocations: 7.906 kB / 1.016 GB, free: 4.094 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001308/0.9613, allocations: 174.9 kB / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.9613, allocations: 0 / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.858e-06/0.9613, allocations: 0 / 1.016 GB, free: 3.883 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.764e-05/0.9614, allocations: 34.42 kB / 1.016 GB, free: 3.859 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.9615, allocations: 49.38 kB / 1.016 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.193e-06/0.9616, allocations: 4 kB / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.9616, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.9616, allocations: 0 / 1.016 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005121/0.9621, allocations: 310.2 kB / 1.016 GB, free: 3.484 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.472e-05/0.9622, allocations: 41.31 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.9623, allocations: 23.73 kB / 1.016 GB, free: 3.422 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00019/0.9624, allocations: 107.9 kB / 1.016 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.9625, allocations: 30.56 kB / 1.016 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 1.143e-06/0.9625, allocations: 4 kB / 1.016 GB, free: 3.258 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0002304/0.9627, allocations: 78.08 kB / 1.016 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.815e-05/0.9628, allocations: 56.16 kB / 1.016 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.138e-05/0.9629, allocations: 107.7 kB / 1.017 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.9629, allocations: 29.7 kB / 1.017 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.994e-05/0.9629, allocations: 90.25 kB / 1.017 GB, free: 2.895 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.585e-05/0.963, allocations: 7.906 kB / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.628e-06/0.963, allocations: 0 / 1.017 GB, free: 2.887 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.9631, allocations: 318.2 kB / 1.017 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.9631, allocations: 21.36 kB / 1.017 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.584e-05/0.9632, allocations: 16.69 kB / 1.017 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.245e-05/0.9633, allocations: 26.53 kB / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.9633, allocations: 0 / 1.017 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001401/0.9634, allocations: 80.33 kB / 1.017 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.9634, allocations: 4 kB / 1.017 GB, free: 2.445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/0.9634, allocations: 3.984 kB / 1.017 GB, free: 2.441 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.451e-05/0.9635, allocations: 5.375 kB / 1.017 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001426/0.9636, allocations: 19.98 kB / 1.017 GB, free: 2.418 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.817e-06/0.9636, allocations: 4 kB / 1.017 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.632e-05/0.9637, allocations: 19.97 kB / 1.017 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.677e-05/0.9637, allocations: 0 / 1.017 GB, free: 2.395 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 7.265e-05/0.9638, allocations: 104.9 kB / 1.017 GB, free: 2.285 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001476/0.964, allocations: 75.08 kB / 1.017 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.964, allocations: 15.84 kB / 1.017 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001907/0.9642, allocations: 86.44 kB / 1.017 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.9642, allocations: 0 / 1.017 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.9642, allocations: 1.562 kB / 1.017 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.9642, allocations: 3.984 kB / 1.017 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001615/0.9644, allocations: 159.5 kB / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.9644, allocations: 0 / 1.018 GB, free: 1.934 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000104/0.9645, allocations: 19.98 kB / 1.018 GB, free: 1.914 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.9645, allocations: 4 kB / 1.018 GB, free: 1.91 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.298e-06/0.9645, allocations: 4 kB / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.213e-06/0.9645, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.9646, allocations: 0 / 1.018 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001925/0.9648, allocations: 171.9 kB / 1.018 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.277e-05/0.9648, allocations: 81.02 kB / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.9648, allocations: 0.875 kB / 1.018 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001196/0.965, allocations: 26.92 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.288e-05/0.965, allocations: 7.984 kB / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.965, allocations: 0 / 1.018 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.9651, allocations: 99.83 kB / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.41e-07/0.9651, allocations: 0 / 1.018 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002091/0.9653, allocations: 11.94 kB / 1.018 GB, free: 1.504 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.0005072/0.9658, allocations: 0.7086 MB / 1.019 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001041/0.9659, allocations: 30.48 kB / 1.019 GB, free: 0.7578 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9659, allocations: 7.188 kB / 1.019 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.255e-05/0.966, allocations: 15.5 kB / 1.019 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001615/0.9662, allocations: 10 kB / 1.019 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003751/0.9665, allocations: 135.4 kB / 1.019 GB, free: 0.5742 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002911/0.9668, allocations: 0.6885 MB / 1.02 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.751e-05/0.9669, allocations: 19.72 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.473e-05/0.9669, allocations: 14.19 kB / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of SimCode: time 2.41e-07/0.9669, allocations: 0 / 1.02 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01904/0.986, allocations: 1.206 MB / 1.021 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/0.9863, allocations: 146.5 kB / 1.021 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.374/2.36, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.6511 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)