Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.007588/0.007588, allocations: 101 kB / 15.73 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 197.3 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.514/1.514, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/Building/BuildingEnvelope/HeatTransfer/package.mo:2:1-40:17:writable] Warning: Soil_case_nappe was referenced in the package.order file, but was not found in package.mo, Soil_case_nappe/package.mo or Soil_case_nappe.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo): time 1.049/1.049, allocations: 143.3 MB / 433.9 MB, free: 11.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002112/0.002112, allocations: 64.38 kB / 0.5953 GB, free: 12.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.18/0.1822, allocations: 82.03 MB / 0.6754 GB, free: 10.61 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic): time 0.003023/0.1852, allocations: 1.493 MB / 0.6769 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.000348/0.1856, allocations: 104.5 kB / 0.677 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.46e-05/0.1857, allocations: 0 / 0.677 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 5.271e-05/0.1858, allocations: 0 / 0.677 GB, free: 9.004 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.449e-05/0.1858, allocations: 23.84 kB / 0.677 GB, free: 8.98 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.1861, allocations: 19.92 kB / 0.677 GB, free: 8.961 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.0001006/0.1862, allocations: 47.84 kB / 0.6771 GB, free: 8.914 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001064/0.1863, allocations: 8 kB / 0.6771 GB, free: 8.906 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 6.51e-05/0.1864, allocations: 15.92 kB / 0.6771 GB, free: 8.891 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 5.889e-05/0.1864, allocations: 27.91 kB / 0.6771 GB, free: 8.863 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.1864, allocations: 4 kB / 0.6771 GB, free: 8.859 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 7.488e-05/0.1865, allocations: 19.98 kB / 0.6771 GB, free: 8.84 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 5.155e-05/0.1866, allocations: 15.92 kB / 0.6771 GB, free: 8.824 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.571e-05/0.1866, allocations: 19.86 kB / 0.6772 GB, free: 8.805 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.000161/0.1868, allocations: 56.08 kB / 0.6772 GB, free: 8.75 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.1868, allocations: 3.938 kB / 0.6772 GB, free: 8.746 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.212e-06/0.1868, allocations: 4 kB / 0.6772 GB, free: 8.742 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 5.049e-06/0.1868, allocations: 0 / 0.6772 GB, free: 8.742 MB / 0.5137 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.0005959/0.1874, allocations: 375.2 kB / 0.6776 GB, free: 8.324 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.633e-05/0.1875, allocations: 12.03 kB / 0.6776 GB, free: 8.312 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.704e-05/0.1875, allocations: 38.73 kB / 0.6776 GB, free: 8.266 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.389e-05/0.1876, allocations: 8.891 kB / 0.6776 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001696/0.1878, allocations: 180.2 kB / 0.6778 GB, free: 8.043 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.074e-05/0.1878, allocations: 8.312 kB / 0.6778 GB, free: 8.035 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.439e-05/0.1878, allocations: 4.375 kB / 0.6778 GB, free: 8.031 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002919/0.1881, allocations: 74.2 kB / 0.6779 GB, free: 7.953 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.275e-05/0.1881, allocations: 3.938 kB / 0.6779 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1881, allocations: 0 / 0.6779 GB, free: 7.949 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.56e-06/0.1881, allocations: 4 kB / 0.6779 GB, free: 7.945 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00031/0.1884, allocations: 71.92 kB / 0.678 GB, free: 7.875 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004305/0.1889, allocations: 284.9 kB / 0.6782 GB, free: 7.547 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002349/0.1891, allocations: 70.58 kB / 0.6783 GB, free: 7.469 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001709/0.1893, allocations: 44.81 kB / 0.6784 GB, free: 7.422 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003572/0.1897, allocations: 109.1 kB / 0.6785 GB, free: 7.297 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.205e-05/0.1897, allocations: 30.56 kB / 0.6785 GB, free: 7.258 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.262e-06/0.1897, allocations: 7.938 kB / 0.6785 GB, free: 7.25 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0006369/0.1904, allocations: 149.5 kB / 0.6786 GB, free: 7.098 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.68e-05/0.1905, allocations: 55.41 kB / 0.6787 GB, free: 7.031 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001528/0.1906, allocations: 125.3 kB / 0.6788 GB, free: 6.902 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.1906, allocations: 29.7 kB / 0.6788 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 7.679e-05/0.1907, allocations: 92.14 kB / 0.6789 GB, free: 6.773 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 3.004e-05/0.1908, allocations: 15.89 kB / 0.6789 GB, free: 6.758 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.1908, allocations: 13.72 kB / 0.679 GB, free: 6.738 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001596/0.191, allocations: 314.8 kB / 0.6793 GB, free: 6.422 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.1912, allocations: 35.95 kB / 0.6793 GB, free: 6.387 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.1913, allocations: 43.95 kB / 0.6793 GB, free: 6.344 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003038/0.1916, allocations: 80.72 kB / 0.6794 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1916, allocations: 0 / 0.6794 GB, free: 6.262 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003635/0.192, allocations: 113.6 kB / 0.6795 GB, free: 6.145 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.489e-05/0.1921, allocations: 10.19 kB / 0.6795 GB, free: 6.137 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.031e-06/0.1921, allocations: 3.938 kB / 0.6795 GB, free: 6.133 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.505e-05/0.1921, allocations: 4 kB / 0.6795 GB, free: 6.129 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001368/0.1922, allocations: 15.97 kB / 0.6795 GB, free: 6.113 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1922, allocations: 4 kB / 0.6796 GB, free: 6.109 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.953e-05/0.1923, allocations: 11.94 kB / 0.6796 GB, free: 6.098 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.149e-05/0.1924, allocations: 4 kB / 0.6796 GB, free: 6.094 MB / 0.5137 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 0.0001199/0.1925, allocations: 121.8 kB / 0.6797 GB, free: 5.965 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.342e-05/0.1925, allocations: 3.984 kB / 0.6797 GB, free: 5.961 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004136/0.1929, allocations: 113.8 kB / 0.6798 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.021e-06/0.193, allocations: 0 / 0.6798 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.193, allocations: 7.984 kB / 0.6798 GB, free: 5.832 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.704e-06/0.193, allocations: 3.984 kB / 0.6798 GB, free: 5.828 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002355/0.1932, allocations: 185.5 kB / 0.68 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.1932, allocations: 0 / 0.68 GB, free: 5.598 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001199/0.1934, allocations: 19.98 kB / 0.68 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.987e-06/0.1934, allocations: 0 / 0.68 GB, free: 5.578 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.1934, allocations: 3.984 kB / 0.68 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.955e-06/0.1934, allocations: 0 / 0.68 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.1934, allocations: 0 / 0.68 GB, free: 5.574 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004247/0.1938, allocations: 211.4 kB / 0.6802 GB, free: 5.352 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 5.975e-05/0.1939, allocations: 85.05 kB / 0.6803 GB, free: 5.25 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.1939, allocations: 4 kB / 0.6803 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.194, allocations: 7.984 kB / 0.6803 GB, free: 5.238 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.975e-05/0.1941, allocations: 4 kB / 0.6803 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.668e-06/0.1941, allocations: 0 / 0.6803 GB, free: 5.234 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 9.296e-05/0.1942, allocations: 107.2 kB / 0.6804 GB, free: 5.129 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1942, allocations: 3.938 kB / 0.6804 GB, free: 5.125 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002447/0.1945, allocations: 11.94 kB / 0.6804 GB, free: 5.113 MB / 0.5137 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.0008231/0.1953, allocations: 0.7475 MB / 0.6812 GB, free: 4.34 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.1957, allocations: 71.92 kB / 0.6812 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.1957, allocations: 0 / 0.6812 GB, free: 4.27 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0001929/0.1959, allocations: 51.89 kB / 0.6813 GB, free: 4.219 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002541/0.1961, allocations: 4 kB / 0.6813 GB, free: 4.215 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005362/0.1967, allocations: 187 kB / 0.6815 GB, free: 3.992 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003389/0.197, allocations: 0.6923 MB / 0.6821 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.1971, allocations: 0 / 0.6821 GB, free: 3.273 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5e-05/0.1971, allocations: 19.44 kB / 0.6821 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of SimCode: time 3.11e-07/0.1971, allocations: 0 / 0.6821 GB, free: 3.254 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02594/0.2231, allocations: 1.897 MB / 0.684 GB, free: 1.449 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.897/8.121, allocations: 3.938 kB / 0.684 GB, free: 1.445 MB / 0.5137 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Biquadratic.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic.pipe 2>&1)