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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001656/0.001656, allocations: 101.4 kB / 15.69 MB, free: 140 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002084/0.002084, allocations: 200.9 kB / 16.63 MB, free: 6.324 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.469/1.469, allocations: 205.1 MB / 222.5 MB, free: 4.348 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.789/1.789, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001458/0.001458, allocations: 67.41 kB / 0.6718 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2396/0.241, allocations: 114.5 MB / 0.7836 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.Biquadratic): time 0.003097/0.2442, allocations: 1.483 MB / 0.7851 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003486/0.2446, allocations: 108.6 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.951e-05/0.2447, allocations: 4 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 5.192e-05/0.2447, allocations: 3.938 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 7.841e-05/0.2448, allocations: 15.86 kB / 0.7852 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002351/0.245, allocations: 19.91 kB / 0.7852 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.673e-05/0.2451, allocations: 43.91 kB / 0.7853 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001239/0.2453, allocations: 8 kB / 0.7853 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.422e-05/0.2454, allocations: 19.92 kB / 0.7853 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.45e-05/0.2454, allocations: 23.91 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.67e-05/0.2454, allocations: 4 kB / 0.7853 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.614e-05/0.2455, allocations: 23.92 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 5.948e-05/0.2456, allocations: 11.94 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.036e-05/0.2456, allocations: 27.84 kB / 0.7854 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001376/0.2458, allocations: 48.16 kB / 0.7854 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.2458, allocations: 3.938 kB / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.834e-06/0.2458, allocations: 0 / 0.7854 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.2458, allocations: 0 / 0.7854 GB, free: 11.45 MB / 0.6075 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.0005846/0.2464, allocations: 387.1 kB / 0.7858 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.2465, allocations: 12.03 kB / 0.7858 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.103e-05/0.2465, allocations: 34.75 kB / 0.7858 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.015e-05/0.2465, allocations: 4.938 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.2467, allocations: 172.3 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.2467, allocations: 384 / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.2467, allocations: 384 / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002687/0.247, allocations: 78.16 kB / 0.7861 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.247, allocations: 7.938 kB / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.647e-06/0.247, allocations: 0 / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.247, allocations: 0 / 0.7861 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002869/0.2473, allocations: 79.91 kB / 0.7862 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003927/0.2477, allocations: 288.7 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002447/0.248, allocations: 70.47 kB / 0.7865 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001565/0.2482, allocations: 48.91 kB / 0.7866 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002599/0.2484, allocations: 113 kB / 0.7867 GB, free: 10 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.216e-05/0.2485, allocations: 34.55 kB / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.2485, allocations: 0 / 0.7867 GB, free: 9.957 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3): time 0.0005518/0.249, allocations: 145.5 kB / 0.7868 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.29e-05/0.2491, allocations: 55.41 kB / 0.7869 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2492, allocations: 125.8 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.382e-05/0.2492, allocations: 25.7 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.24e-05/0.2493, allocations: 92.14 kB / 0.7871 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.842e-05/0.2493, allocations: 3.906 kB / 0.7871 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-05/0.2494, allocations: 25.64 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.2495, allocations: 314.8 kB / 0.7874 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001479/0.2496, allocations: 43.95 kB / 0.7875 GB, free: 9.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001316/0.2498, allocations: 31.97 kB / 0.7875 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002805/0.2501, allocations: 81 kB / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.2501, allocations: 0 / 0.7876 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003348/0.2504, allocations: 125.5 kB / 0.7877 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.686e-05/0.2504, allocations: 4 kB / 0.7877 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.351e-06/0.2504, allocations: 7.938 kB / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.2505, allocations: 0 / 0.7877 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001309/0.2506, allocations: 15.92 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.797e-06/0.2506, allocations: 7.969 kB / 0.7877 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.108e-05/0.2507, allocations: 15.98 kB / 0.7878 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.2507, allocations: 0 / 0.7878 GB, free: 8.797 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.743e-05/0.2508, allocations: 118.4 kB / 0.7879 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.996e-05/0.2508, allocations: 7.906 kB / 0.7879 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003675/0.2512, allocations: 117.5 kB / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.615e-06/0.2512, allocations: 0 / 0.788 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.2512, allocations: 4 kB / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.2512, allocations: 0 / 0.788 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001842/0.2514, allocations: 185.6 kB / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.2514, allocations: 0 / 0.7882 GB, free: 8.301 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.975e-05/0.2515, allocations: 15.98 kB / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.2515, allocations: 0 / 0.7882 GB, free: 8.285 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.2516, allocations: 3.938 kB / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.2516, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.2516, allocations: 0 / 0.7882 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003825/0.252, allocations: 211.4 kB / 0.7884 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.443e-05/0.252, allocations: 81.02 kB / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.383e-05/0.252, allocations: 0 / 0.7885 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001035/0.2521, allocations: 15.97 kB / 0.7885 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.421e-05/0.2522, allocations: 8 kB / 0.7885 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.867e-06/0.2522, allocations: 4 kB / 0.7885 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.21e-05/0.2523, allocations: 102.1 kB / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2523, allocations: 0 / 0.7886 GB, free: 7.836 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002205/0.2525, allocations: 11.94 kB / 0.7886 GB, free: 7.824 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006551/0.2531, allocations: 0.7513 MB / 0.7893 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0003315/0.2535, allocations: 79.92 kB / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.2535, allocations: 0 / 0.7894 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.2537, allocations: 51.89 kB / 0.7895 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.2539, allocations: 4.938 kB / 0.7895 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004799/0.2544, allocations: 183.1 kB / 0.7896 GB, free: 6.695 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002718/0.2547, allocations: 0.6884 MB / 0.7903 GB, free: 5.98 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.007e-05/0.2547, allocations: 8 kB / 0.7903 GB, free: 5.973 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.988e-05/0.2548, allocations: 19.44 kB / 0.7903 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of SimCode: time 2.1e-07/0.2548, allocations: 0 / 0.7903 GB, free: 5.953 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.2717, allocations: 1.846 MB / 0.7922 GB, free: 4.176 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.233/7.505, allocations: 21.44 kB / 0.7922 GB, free: 4.164 MB / 0.6075 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Examples_Biquadratic.fmu > Buildings_8_Buildings.Utilities.Math.Examples.Biquadratic.pipe 2>&1)