Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 1.804/1.804, allocations: 287.4 MB / 302.6 MB, free: 8.332 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.001021/0.001021, allocations: 183.7 kB / 371.1 MB, free: 10.86 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.747/1.747, allocations: 205.4 MB / 0.6298 GB, free: 10.59 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.0007821/0.0007822, allocations: 97.97 kB / 0.7431 GB, free: 6.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004444/0.0004446, allocations: 17.06 kB / 0.8662 GB, free: 140.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2445/0.245, allocations: 115.3 MB / 0.9787 GB, free: 28.14 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.00161/0.2466, allocations: 1.199 MB / 0.9799 GB, free: 26.93 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002958/0.2469, allocations: 100.6 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.334e-05/0.247, allocations: 0 / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.602e-05/0.2471, allocations: 4 kB / 0.98 GB, free: 26.82 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.702e-05/0.2472, allocations: 7.922 kB / 0.98 GB, free: 26.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002108/0.2474, allocations: 15.92 kB / 0.98 GB, free: 26.8 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.491e-05/0.2475, allocations: 47.84 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.822e-05/0.2476, allocations: 4 kB / 0.9801 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.719e-05/0.2476, allocations: 19.92 kB / 0.9801 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.172e-05/0.2477, allocations: 15.92 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.2477, allocations: 4 kB / 0.9801 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.769e-05/0.2477, allocations: 15.98 kB / 0.9801 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.554e-05/0.2478, allocations: 11.92 kB / 0.9801 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.058e-05/0.2478, allocations: 33.7 kB / 0.9802 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.226e-05/0.2479, allocations: 40.2 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.2479, allocations: 4 kB / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2479, allocations: 0 / 0.9802 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2479, allocations: 0 / 0.9802 GB, free: 26.6 MB / 0.6198 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.000474/0.2484, allocations: 379.2 kB / 0.9806 GB, free: 26.18 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.625e-05/0.2485, allocations: 12.03 kB / 0.9806 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.092e-05/0.2485, allocations: 38.69 kB / 0.9806 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.713e-05/0.2485, allocations: 12.84 kB / 0.9806 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.73e-05/0.2487, allocations: 172.3 kB / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.169e-05/0.2487, allocations: 384 / 0.9808 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.957e-06/0.2487, allocations: 4.312 kB / 0.9808 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002495/0.2489, allocations: 86.22 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.697e-06/0.249, allocations: 3.938 kB / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.217e-06/0.249, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.249, allocations: 0 / 0.9809 GB, free: 25.8 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002772/0.2493, allocations: 95.92 kB / 0.981 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003304/0.2496, allocations: 292.8 kB / 0.9813 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000191/0.2498, allocations: 78.53 kB / 0.9813 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001418/0.25, allocations: 60.91 kB / 0.9814 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001678/0.2501, allocations: 101.1 kB / 0.9815 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.01e-05/0.2502, allocations: 30.56 kB / 0.9815 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.693e-06/0.2502, allocations: 7.984 kB / 0.9815 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0005211/0.2507, allocations: 185.4 kB / 0.9817 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.412e-05/0.2507, allocations: 55.39 kB / 0.9818 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.573e-05/0.2508, allocations: 123.5 kB / 0.9819 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.988e-06/0.2508, allocations: 25.7 kB / 0.9819 GB, free: 24.64 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.751e-05/0.2509, allocations: 100.1 kB / 0.982 GB, free: 24.54 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.707e-05/0.2509, allocations: 11.8 kB / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-06/0.2509, allocations: 0 / 0.982 GB, free: 24.53 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.47e-05/0.251, allocations: 326.8 kB / 0.9823 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001364/0.2511, allocations: 39.97 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001286/0.2513, allocations: 51.95 kB / 0.9824 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000276/0.2515, allocations: 108.7 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.2515, allocations: 3.938 kB / 0.9825 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0002904/0.2518, allocations: 129.6 kB / 0.9826 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.247e-05/0.2519, allocations: 4 kB / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.36e-06/0.2519, allocations: 0 / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.2519, allocations: 0 / 0.9826 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001228/0.252, allocations: 19.98 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.252, allocations: 4 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.295e-05/0.2521, allocations: 19.98 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.2521, allocations: 0 / 0.9827 GB, free: 23.82 MB / 0.6198 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 6.155e-05/0.2522, allocations: 123.1 kB / 0.9828 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.409e-05/0.2522, allocations: 7.906 kB / 0.9828 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003466/0.2526, allocations: 145.5 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2526, allocations: 4 kB / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.279e-06/0.2526, allocations: 0 / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.2526, allocations: 0 / 0.9829 GB, free: 23.53 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001261/0.2527, allocations: 181.6 kB / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.2527, allocations: 0 / 0.9831 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.803e-05/0.2528, allocations: 27.97 kB / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.2528, allocations: 0 / 0.9831 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.104e-06/0.2529, allocations: 3.938 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.81e-07/0.2529, allocations: 0 / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.2529, allocations: 4 kB / 0.9832 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003229/0.2532, allocations: 239.2 kB / 0.9834 GB, free: 23.02 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.393e-05/0.2532, allocations: 85.02 kB / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.2533, allocations: 0 / 0.9835 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.644e-05/0.2534, allocations: 15.98 kB / 0.9835 GB, free: 22.9 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.138e-05/0.2534, allocations: 8.406 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.2534, allocations: 4 kB / 0.9835 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.27e-05/0.2535, allocations: 104.4 kB / 0.9836 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2535, allocations: 3.938 kB / 0.9836 GB, free: 22.78 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001947/0.2537, allocations: 11.94 kB / 0.9836 GB, free: 22.77 MB / 0.6198 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.0005333/0.2542, allocations: 0.7592 MB / 0.9843 GB, free: 21.98 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003286/0.2545, allocations: 107.8 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.2546, allocations: 4 kB / 0.9845 GB, free: 21.88 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001426/0.2547, allocations: 47.97 kB / 0.9845 GB, free: 21.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002309/0.2549, allocations: 14.64 kB / 0.9845 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004457/0.2554, allocations: 190.2 kB / 0.9847 GB, free: 21.59 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001186/0.2555, allocations: 0.6887 MB / 0.9854 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.285e-05/0.2556, allocations: 4 kB / 0.9854 GB, free: 20.87 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.678e-05/0.2556, allocations: 15.44 kB / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2556, allocations: 0 / 0.9854 GB, free: 20.86 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01154/0.2672, allocations: 1.528 MB / 0.9869 GB, free: 19.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.2674, allocations: 174.9 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.588/1.855, allocations: 0 / 0.987 GB, free: 19.22 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)