Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.Biquadratic,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.611/1.611, allocations: 288.2 MB / 303.2 MB, free: 8.145 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.001069/0.001069, allocations: 181.9 kB / 371.8 MB, free: 10.29 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.522/1.522, allocations: 205.4 MB / 0.6305 GB, free: 10.02 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.000901/0.0009009, allocations: 105.2 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004015/0.0004016, allocations: 12.34 kB / 0.8669 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2354/0.2358, allocations: 115.3 MB / 0.9795 GB, free: 27.62 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.001596/0.2375, allocations: 1.187 MB / 0.9806 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.2377, allocations: 104.6 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.394e-05/0.2378, allocations: 3.938 kB / 0.9807 GB, free: 26.31 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 3.863e-05/0.2378, allocations: 3.938 kB / 0.9807 GB, free: 26.3 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.704e-05/0.2379, allocations: 11.98 kB / 0.9807 GB, free: 26.29 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001736/0.2381, allocations: 15.97 kB / 0.9808 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.527e-05/0.2382, allocations: 35.89 kB / 0.9808 GB, free: 26.24 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001009/0.2383, allocations: 8 kB / 0.9808 GB, free: 26.23 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.191e-05/0.2383, allocations: 11.98 kB / 0.9808 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.565e-05/0.2384, allocations: 15.92 kB / 0.9808 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.686e-05/0.2384, allocations: 4 kB / 0.9808 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.364e-05/0.2385, allocations: 15.98 kB / 0.9808 GB, free: 26.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.096e-05/0.2385, allocations: 15.92 kB / 0.9809 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.519e-05/0.2385, allocations: 25.7 kB / 0.9809 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.048e-05/0.2386, allocations: 44.2 kB / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.2386, allocations: 0 / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.723e-06/0.2386, allocations: 0 / 0.9809 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.641e-06/0.2387, allocations: 0 / 0.9809 GB, free: 26.1 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.000493/0.2392, allocations: 383.1 kB / 0.9813 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.329e-05/0.2392, allocations: 16.02 kB / 0.9813 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.178e-05/0.2392, allocations: 42.5 kB / 0.9813 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.35e-05/0.2393, allocations: 3.906 kB / 0.9814 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.451e-05/0.2394, allocations: 169.2 kB / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.362e-05/0.2394, allocations: 4 kB / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.477e-06/0.2394, allocations: 0 / 0.9815 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002843/0.2397, allocations: 89.64 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.253e-05/0.2398, allocations: 3.984 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.311e-05/0.2398, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.72e-06/0.2398, allocations: 0 / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003169/0.2401, allocations: 99.92 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.2405, allocations: 292.7 kB / 0.982 GB, free: 24.87 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002301/0.2408, allocations: 82.47 kB / 0.9821 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002915/0.2411, allocations: 105.2 kB / 0.9822 GB, free: 24.66 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2411, allocations: 30.56 kB / 0.9822 GB, free: 24.62 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=3): time 1.733e-06/0.2411, allocations: 4 kB / 0.9822 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3): time 0.0006143/0.2417, allocations: 185.5 kB / 0.9824 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.016e-05/0.2418, allocations: 51.41 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001166/0.2419, allocations: 121.8 kB / 0.9825 GB, free: 24.23 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.923e-05/0.242, allocations: 33.62 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.389e-05/0.242, allocations: 96.05 kB / 0.9827 GB, free: 24.1 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.397e-05/0.2421, allocations: 11.89 kB / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.14e-06/0.2421, allocations: 0 / 0.9827 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.2422, allocations: 322.8 kB / 0.983 GB, free: 23.76 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001581/0.2423, allocations: 47.97 kB / 0.983 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001421/0.2425, allocations: 47.95 kB / 0.9831 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001558/0.2426, allocations: 51.95 kB / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.2427, allocations: 0 / 0.9831 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003385/0.243, allocations: 137.5 kB / 0.9833 GB, free: 23.48 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.695e-05/0.243, allocations: 4 kB / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/0.2431, allocations: 0 / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.2431, allocations: 0 / 0.9833 GB, free: 23.47 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001516/0.2432, allocations: 23.97 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.2433, allocations: 4 kB / 0.9833 GB, free: 23.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001083/0.2434, allocations: 15.98 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.347e-06/0.2434, allocations: 0 / 0.9833 GB, free: 23.43 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 8.502e-05/0.2435, allocations: 117.8 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.514e-05/0.2435, allocations: 4 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003979/0.2439, allocations: 153.3 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/0.2439, allocations: 0 / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.2439, allocations: 4 kB / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.13e-06/0.2439, allocations: 0 / 0.9836 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001555/0.2441, allocations: 185.6 kB / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.2441, allocations: 0 / 0.9837 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.064e-05/0.2442, allocations: 19.98 kB / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.324e-06/0.2442, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.066e-05/0.2442, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.325e-06/0.2442, allocations: 0 / 0.9838 GB, free: 22.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.2443, allocations: 3.938 kB / 0.9838 GB, free: 22.88 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.2446, allocations: 239.8 kB / 0.984 GB, free: 22.63 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.646e-05/0.2447, allocations: 81.02 kB / 0.9841 GB, free: 22.54 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2447, allocations: 3.984 kB / 0.9841 GB, free: 22.53 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001058/0.2448, allocations: 15.98 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.33e-05/0.2449, allocations: 11.94 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.088e-06/0.2449, allocations: 4 kB / 0.9841 GB, free: 22.5 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 5.854e-05/0.245, allocations: 101.4 kB / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.6e-07/0.245, allocations: 0 / 0.9842 GB, free: 22.4 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002276/0.2452, allocations: 11.94 kB / 0.9842 GB, free: 22.39 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.0006664/0.2459, allocations: 0.767 MB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003593/0.2462, allocations: 107.8 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2463, allocations: 4 kB / 0.9851 GB, free: 21.49 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001548/0.2464, allocations: 51.95 kB / 0.9851 GB, free: 21.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002026/0.2466, allocations: 6.031 kB / 0.9851 GB, free: 21.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005016/0.2471, allocations: 194.3 kB / 0.9853 GB, free: 21.2 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002253/0.2474, allocations: 0.6887 MB / 0.986 GB, free: 20.49 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.529e-05/0.2474, allocations: 4 kB / 0.986 GB, free: 20.48 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.386e-05/0.2475, allocations: 15.42 kB / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of SimCode: time 2.4e-07/0.2475, allocations: 0 / 0.986 GB, free: 20.47 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01256/0.26, allocations: 1.53 MB / 0.9875 GB, free: 19.07 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001517/0.2602, allocations: 180.8 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.475/1.735, allocations: 4 kB / 0.9877 GB, free: 18.84 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)