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/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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.009987/0.009987, allocations: 99.81 kB / 15.73 MB, free: 6.055 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.001929/0.001929, allocations: 192.4 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.468/1.468, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0/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/package.mo): time 0.9121/0.9121, allocations: 143.1 MB / 433.6 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001193/0.001193, allocations: 68.3 kB / 0.5951 GB, free: 12.79 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1708/0.172, allocations: 82.03 MB / 0.6752 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic): time 0.002633/0.1746, allocations: 1.497 MB / 0.6766 GB, free: 9.348 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0003057/0.175, allocations: 104.5 kB / 0.6767 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.866e-05/0.175, allocations: 0 / 0.6767 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 4.379e-05/0.1751, allocations: 0 / 0.6767 GB, free: 9.242 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 6.287e-05/0.1752, allocations: 19.86 kB / 0.6767 GB, free: 9.223 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002216/0.1754, allocations: 19.97 kB / 0.6768 GB, free: 9.203 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 8.835e-05/0.1755, allocations: 43.8 kB / 0.6768 GB, free: 9.16 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 9.294e-05/0.1756, allocations: 11.98 kB / 0.6768 GB, free: 9.148 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 5.64e-05/0.1757, allocations: 19.92 kB / 0.6768 GB, free: 9.129 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 4.81e-05/0.1757, allocations: 19.92 kB / 0.6769 GB, free: 9.109 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.1757, allocations: 3.938 kB / 0.6769 GB, free: 9.105 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 6.171e-05/0.1758, allocations: 23.98 kB / 0.6769 GB, free: 9.082 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 4.707e-05/0.1759, allocations: 15.92 kB / 0.6769 GB, free: 9.066 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 3.3e-05/0.1759, allocations: 23.86 kB / 0.6769 GB, free: 9.043 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.1761, allocations: 56.08 kB / 0.677 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.661e-06/0.1761, allocations: 0 / 0.677 GB, free: 8.988 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.984e-06/0.1761, allocations: 3.938 kB / 0.677 GB, free: 8.984 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.1761, allocations: 0 / 0.677 GB, free: 8.984 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.0005748/0.1767, allocations: 379.1 kB / 0.6773 GB, free: 8.562 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1767, allocations: 16.03 kB / 0.6774 GB, free: 8.547 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.587e-05/0.1768, allocations: 34.75 kB / 0.6774 GB, free: 8.504 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.089e-05/0.1768, allocations: 8.891 kB / 0.6774 GB, free: 8.496 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.1769, allocations: 180.2 kB / 0.6776 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.229e-05/0.1769, allocations: 384 / 0.6776 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.177, allocations: 384 / 0.6776 GB, free: 8.281 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1772, allocations: 82.2 kB / 0.6776 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1772, allocations: 3.938 kB / 0.6777 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.666e-06/0.1773, allocations: 0 / 0.6777 GB, free: 8.191 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.037e-06/0.1773, allocations: 4 kB / 0.6777 GB, free: 8.188 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002887/0.1776, allocations: 75.92 kB / 0.6777 GB, free: 8.113 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003723/0.1779, allocations: 280.9 kB / 0.678 GB, free: 7.789 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002786/0.1782, allocations: 74.47 kB / 0.6781 GB, free: 7.707 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001988/0.1784, allocations: 40.92 kB / 0.6781 GB, free: 7.664 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002914/0.1787, allocations: 109.1 kB / 0.6782 GB, free: 7.539 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.129e-05/0.1788, allocations: 34.56 kB / 0.6782 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.393e-06/0.1788, allocations: 0 / 0.6782 GB, free: 7.496 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0005806/0.1794, allocations: 149.5 kB / 0.6784 GB, free: 7.344 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.503e-05/0.1794, allocations: 55.39 kB / 0.6784 GB, free: 7.277 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.1795, allocations: 129.1 kB / 0.6786 GB, free: 7.145 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.1796, allocations: 25.7 kB / 0.6786 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.567e-05/0.1796, allocations: 96.12 kB / 0.6787 GB, free: 7.016 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.911e-05/0.1797, allocations: 7.906 kB / 0.6787 GB, free: 7.008 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.481e-05/0.1797, allocations: 17.72 kB / 0.6787 GB, free: 6.984 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.1798, allocations: 322.8 kB / 0.679 GB, free: 6.66 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001443/0.18, allocations: 31.97 kB / 0.679 GB, free: 6.629 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001378/0.1801, allocations: 39.95 kB / 0.6791 GB, free: 6.59 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000275/0.1804, allocations: 81 kB / 0.6792 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1804, allocations: 0 / 0.6792 GB, free: 6.508 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003305/0.1807, allocations: 121.5 kB / 0.6793 GB, free: 6.383 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.1808, allocations: 4 kB / 0.6793 GB, free: 6.379 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.1808, allocations: 4 kB / 0.6793 GB, free: 6.375 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1808, allocations: 3.938 kB / 0.6793 GB, free: 6.371 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001253/0.1809, allocations: 15.92 kB / 0.6793 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.1809, allocations: 0 / 0.6793 GB, free: 6.355 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.607e-05/0.181, allocations: 15.94 kB / 0.6793 GB, free: 6.34 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.181, allocations: 0 / 0.6793 GB, free: 6.34 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 8.828e-05/0.1811, allocations: 126.6 kB / 0.6794 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.889e-05/0.1812, allocations: 4 kB / 0.6794 GB, free: 6.203 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003874/0.1815, allocations: 117.5 kB / 0.6796 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.1816, allocations: 0 / 0.6796 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.599e-06/0.1816, allocations: 0 / 0.6796 GB, free: 6.078 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1816, allocations: 3.984 kB / 0.6796 GB, free: 6.074 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001933/0.1818, allocations: 189.5 kB / 0.6797 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.1818, allocations: 0 / 0.6797 GB, free: 5.84 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.521e-05/0.1819, allocations: 19.97 kB / 0.6798 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.485e-06/0.1819, allocations: 0 / 0.6798 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.849e-06/0.1819, allocations: 0 / 0.6798 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.1819, allocations: 0 / 0.6798 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.1819, allocations: 0 / 0.6798 GB, free: 5.82 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003924/0.1823, allocations: 215.4 kB / 0.68 GB, free: 5.594 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.64e-05/0.1824, allocations: 81.06 kB / 0.68 GB, free: 5.496 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1824, allocations: 4 kB / 0.68 GB, free: 5.492 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001025/0.1825, allocations: 11.98 kB / 0.6801 GB, free: 5.48 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.522e-05/0.1826, allocations: 11.98 kB / 0.6801 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.437e-05/0.1826, allocations: 0 / 0.6801 GB, free: 5.469 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 6.821e-05/0.1827, allocations: 103.2 kB / 0.6802 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.41e-07/0.1827, allocations: 0 / 0.6802 GB, free: 5.367 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0002344/0.1829, allocations: 12 kB / 0.6802 GB, free: 5.355 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.0007298/0.1837, allocations: 0.7397 MB / 0.6809 GB, free: 4.59 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0003601/0.184, allocations: 83.91 kB / 0.681 GB, free: 4.508 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.184, allocations: 3.938 kB / 0.681 GB, free: 4.504 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.000149/0.1842, allocations: 35.97 kB / 0.681 GB, free: 4.469 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.1845, allocations: 19.7 kB / 0.681 GB, free: 4.453 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005326/0.185, allocations: 187 kB / 0.6812 GB, free: 4.23 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/0.1853, allocations: 0.6846 MB / 0.6819 GB, free: 3.52 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 2.917e-05/0.1853, allocations: 3.938 kB / 0.6819 GB, free: 3.516 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.702e-05/0.1854, allocations: 23.42 kB / 0.6819 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1854, allocations: 0 / 0.6819 GB, free: 3.492 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.2045, allocations: 1.892 MB / 0.6838 GB, free: 1.688 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.346/7.551, allocations: 0.7031 kB / 0.6838 GB, free: 1.688 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)