Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.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.Biquadratic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic",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.891/1.891, allocations: 289.9 MB / 297.4 MB, free: 6.375 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.001052/0.001052, allocations: 176.8 kB / 366.7 MB, free: 1.66 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.849/1.849, allocations: 205.2 MB / 0.626 GB, free: 7.191 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.00102/0.00102, allocations: 78.98 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.926e-05/2.966e-05, allocations: 8 kB / 0.8598 GB, free: 12.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8318/0.8319, allocations: 116.3 MB / 0.9733 GB, free: 76.14 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/1.055, allocations: 138.2 MB / 1.108 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002689/1.055, allocations: 68.47 kB / 1.108 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003296/1.059, allocations: 1.066 MB / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.423e-06/1.059, allocations: 0 / 1.109 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.462e-06/1.059, allocations: 0 / 1.109 GB, free: 10.79 MB / 0.7136 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.0004662/1.059, allocations: 379.7 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/1.059, allocations: 8.031 kB / 1.11 GB, free: 10.38 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.647e-05/1.059, allocations: 4 kB / 1.11 GB, free: 10.37 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001428/1.059, allocations: 176.4 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.433e-05/1.059, allocations: 2.844 kB / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.302e-05/1.059, allocations: 0 / 1.11 GB, free: 10.16 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000116/1.06, allocations: 36.52 kB / 1.11 GB, free: 10.13 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001153/1.06, allocations: 50.48 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/1.06, allocations: 0 / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/1.06, allocations: 1.469 kB / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.613e-06/1.06, allocations: 0 / 1.11 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005526/1.06, allocations: 309.6 kB / 1.11 GB, free: 9.738 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 9.329e-05/1.06, allocations: 46.56 kB / 1.11 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.155e-05/1.06, allocations: 28.92 kB / 1.11 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001901/1.061, allocations: 102.4 kB / 1.111 GB, free: 9.535 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.335e-05/1.061, allocations: 35.73 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/1.061, allocations: 1.781 kB / 1.111 GB, free: 9.492 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3): time 0.0002702/1.061, allocations: 73.52 kB / 1.111 GB, free: 9.414 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.259e-05/1.061, allocations: 59.97 kB / 1.111 GB, free: 9.344 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/1.061, allocations: 115.7 kB / 1.111 GB, free: 9.227 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/1.061, allocations: 26.55 kB / 1.111 GB, free: 9.195 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.716e-05/1.061, allocations: 88.14 kB / 1.111 GB, free: 9.105 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.129e-05/1.061, allocations: 12.53 kB / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.629e-06/1.061, allocations: 0 / 1.111 GB, free: 9.094 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001435/1.061, allocations: 324.6 kB / 1.111 GB, free: 8.77 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/1.061, allocations: 12 kB / 1.111 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.984e-05/1.062, allocations: 19.98 kB / 1.111 GB, free: 8.738 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.195e-05/1.062, allocations: 23.98 kB / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.062, allocations: 0 / 1.111 GB, free: 8.715 MB / 0.7136 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001393/1.062, allocations: 69.67 kB / 1.111 GB, free: 8.641 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.77e-05/1.062, allocations: 5.094 kB / 1.111 GB, free: 8.637 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.062, allocations: 3.984 kB / 1.111 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.726e-05/1.062, allocations: 4 kB / 1.111 GB, free: 8.629 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/1.062, allocations: 23.92 kB / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.052e-06/1.062, allocations: 0 / 1.111 GB, free: 8.605 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.366e-05/1.062, allocations: 30.23 kB / 1.111 GB, free: 8.578 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.048e-05/1.062, allocations: 0 / 1.111 GB, free: 8.578 MB / 0.7136 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 0.0001011/1.062, allocations: 104.9 kB / 1.112 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001618/1.062, allocations: 76.61 kB / 1.112 GB, free: 8.391 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/1.062, allocations: 8.844 kB / 1.112 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002079/1.063, allocations: 89.94 kB / 1.112 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/1.063, allocations: 0 / 1.112 GB, free: 8.277 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.518e-06/1.063, allocations: 4 kB / 1.112 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/1.063, allocations: 0 / 1.112 GB, free: 8.273 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/1.063, allocations: 158.2 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/1.063, allocations: 1.562 kB / 1.112 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000106/1.063, allocations: 23.97 kB / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.763e-06/1.063, allocations: 0 / 1.112 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.095e-05/1.063, allocations: 4 kB / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/1.063, allocations: 0 / 1.112 GB, free: 8.055 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.063, allocations: 4 kB / 1.112 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002003/1.063, allocations: 171.4 kB / 1.112 GB, free: 7.867 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.233e-05/1.063, allocations: 77.44 kB / 1.112 GB, free: 7.773 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/1.063, allocations: 3.984 kB / 1.112 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/1.063, allocations: 15.98 kB / 1.112 GB, free: 7.754 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.765e-05/1.063, allocations: 8 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/1.063, allocations: 2.5 kB / 1.112 GB, free: 7.746 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.015e-05/1.064, allocations: 103.2 kB / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/1.064, allocations: 0 / 1.112 GB, free: 7.645 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002406/1.064, allocations: 15.84 kB / 1.112 GB, free: 7.629 MB / 0.7136 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.0004966/1.064, allocations: 0.7128 MB / 1.113 GB, free: 6.895 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001075/1.064, allocations: 31.98 kB / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/1.064, allocations: 0 / 1.113 GB, free: 6.863 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.5e-05/1.064, allocations: 23.94 kB / 1.113 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001838/1.065, allocations: 4 kB / 1.113 GB, free: 6.836 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003909/1.065, allocations: 130.8 kB / 1.113 GB, free: 6.676 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002807/1.065, allocations: 0.6892 MB / 1.114 GB, free: 5.961 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.403e-05/1.065, allocations: 8 kB / 1.114 GB, free: 5.953 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.12e-05/1.065, allocations: 19.42 kB / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/1.065, allocations: 0 / 1.114 GB, free: 5.934 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02022/1.086, allocations: 1.193 MB / 1.115 GB, free: 4.781 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002094/1.086, allocations: 141.2 kB / 1.115 GB, free: 4.582 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.597, allocations: 0 / 1.115 GB, free: 4.582 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)