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.636/1.636, allocations: 289.7 MB / 302.3 MB, free: 2.215 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.001164/0.001164, allocations: 181.7 kB / 371.6 MB, free: 3.359 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.89/1.89, allocations: 205.1 MB / 0.6309 GB, free: 11.78 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.001057/0.001057, allocations: 88.22 kB / 0.745 GB, free: 54.67 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.993e-05/3.995e-05, allocations: 4 kB / 0.8663 GB, free: 14.99 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2733, allocations: 116.3 MB / 0.9799 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8373/1.111, allocations: 138.9 MB / 1.116 GB, free: 44.63 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001938/1.111, allocations: 76.61 kB / 1.116 GB, free: 44.61 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002938/1.114, allocations: 1.067 MB / 1.117 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.82e-07/1.114, allocations: 4 kB / 1.117 GB, free: 43.87 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 7.234e-06/1.114, allocations: 0 / 1.117 GB, free: 43.87 MB / 0.7448 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.000371/1.114, allocations: 369.7 kB / 1.117 GB, free: 43.48 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.114, allocations: 16.03 kB / 1.117 GB, free: 43.47 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.849e-05/1.114, allocations: 33.81 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.275e-05/1.114, allocations: 8.844 kB / 1.117 GB, free: 43.43 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.713e-05/1.114, allocations: 175 kB / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/1.115, allocations: 3.266 kB / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.379e-05/1.115, allocations: 0 / 1.117 GB, free: 43.21 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/1.115, allocations: 62.31 kB / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/1.115, allocations: 0 / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.144e-05/1.115, allocations: 0 / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/1.115, allocations: 0 / 1.117 GB, free: 43.16 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.181e-05/1.115, allocations: 35.56 kB / 1.117 GB, free: 43.14 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004894/1.115, allocations: 324.8 kB / 1.118 GB, free: 42.83 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 9.05e-05/1.115, allocations: 57.41 kB / 1.118 GB, free: 42.78 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.932e-05/1.115, allocations: 20.11 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001722/1.116, allocations: 103.9 kB / 1.118 GB, free: 42.65 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.057e-05/1.116, allocations: 30.56 kB / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=3): time 3.446e-06/1.116, allocations: 0 / 1.118 GB, free: 42.61 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3): time 0.0002304/1.116, allocations: 76.06 kB / 1.118 GB, free: 42.55 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.232e-05/1.116, allocations: 55.41 kB / 1.118 GB, free: 42.48 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.178e-05/1.116, allocations: 116 kB / 1.118 GB, free: 42.38 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.153e-05/1.116, allocations: 25.7 kB / 1.118 GB, free: 42.34 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.368e-05/1.116, allocations: 91.89 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/1.116, allocations: 11.81 kB / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.769e-06/1.116, allocations: 0 / 1.118 GB, free: 42.25 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.89e-05/1.116, allocations: 324.7 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.011e-05/1.116, allocations: 11.88 kB / 1.118 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.863e-05/1.116, allocations: 23.08 kB / 1.119 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.143e-05/1.116, allocations: 23.08 kB / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/1.116, allocations: 0 / 1.119 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001011/1.116, allocations: 64.83 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.57e-05/1.116, allocations: 4 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/1.116, allocations: 0 / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.12e-05/1.116, allocations: 0 / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001355/1.117, allocations: 19.47 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/1.117, allocations: 3.422 kB / 1.119 GB, free: 41.82 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.343e-05/1.117, allocations: 21.67 kB / 1.119 GB, free: 41.81 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.148e-05/1.117, allocations: 7.875 kB / 1.119 GB, free: 41.8 MB / 0.7448 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 4.725e-05/1.117, allocations: 104.9 kB / 1.119 GB, free: 41.7 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.875e-05/1.117, allocations: 7.906 kB / 1.119 GB, free: 41.69 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001655/1.117, allocations: 82.8 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/1.117, allocations: 3.328 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/1.117, allocations: 5.188 kB / 1.119 GB, free: 41.62 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/1.117, allocations: 5.453 kB / 1.119 GB, free: 41.61 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001416/1.117, allocations: 175.2 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/1.117, allocations: 3.516 kB / 1.119 GB, free: 41.41 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001021/1.117, allocations: 19.47 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/1.117, allocations: 3.062 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/1.117, allocations: 0 / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.256e-06/1.117, allocations: 1.188 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.633e-06/1.117, allocations: 4 kB / 1.119 GB, free: 41.39 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001341/1.118, allocations: 174.2 kB / 1.119 GB, free: 41.23 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.497e-05/1.118, allocations: 89.23 kB / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/1.118, allocations: 0 / 1.119 GB, free: 41.12 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001136/1.118, allocations: 15.33 kB / 1.119 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.467e-05/1.118, allocations: 7.469 kB / 1.119 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.466e-06/1.118, allocations: 4 kB / 1.119 GB, free: 41.11 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.366e-05/1.118, allocations: 99.7 kB / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.61e-07/1.118, allocations: 0 / 1.119 GB, free: 41.02 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002092/1.118, allocations: 15.94 kB / 1.119 GB, free: 41 MB / 0.7448 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.0003302/1.118, allocations: 0.6985 MB / 1.12 GB, free: 40.3 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001046/1.118, allocations: 39.09 kB / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/1.118, allocations: 0 / 1.12 GB, free: 40.28 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 3.472e-05/1.119, allocations: 15.94 kB / 1.12 GB, free: 40.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001574/1.119, allocations: 4.656 kB / 1.12 GB, free: 40.26 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003631/1.119, allocations: 134 kB / 1.12 GB, free: 40.12 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/1.119, allocations: 0.6957 MB / 1.121 GB, free: 39.41 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.671e-05/1.119, allocations: 9.062 kB / 1.121 GB, free: 39.4 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/1.119, allocations: 22.78 kB / 1.121 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of SimCode: time 1.272e-06/1.119, allocations: 1.312 kB / 1.121 GB, free: 39.39 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01347/1.133, allocations: 1.519 MB / 1.122 GB, free: 38.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00018/1.133, allocations: 146.4 kB / 1.123 GB, free: 38.38 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/2.624, allocations: 0 / 1.123 GB, free: 38.38 MB / 0.7448 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)