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.00111/0.00111, allocations: 108 kB / 15.6 MB, free: 132 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.001081/0.001081, allocations: 192.5 kB / 16.53 MB, free: 6.391 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.353/1.353, allocations: 222.9 MB / 240.2 MB, free: 4.441 MB / 190.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 1.048/1.048, allocations: 143 MB / 433.4 MB, free: 11.47 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 67.89 kB / 0.5143 GB, free: 11.56 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1598/0.1611, allocations: 82.04 MB / 0.5944 GB, free: 9.484 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic): time 0.002679/0.1638, allocations: 1.476 MB / 0.5958 GB, free: 7.992 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003153/0.1642, allocations: 96.59 kB / 0.5959 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.182e-05/0.1642, allocations: 0 / 0.5959 GB, free: 7.895 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 4.541e-05/0.1643, allocations: 11.92 kB / 0.5959 GB, free: 7.883 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 6.079e-05/0.1644, allocations: 11.86 kB / 0.5959 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002082/0.1646, allocations: 23.97 kB / 0.596 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 8.277e-05/0.1647, allocations: 35.92 kB / 0.596 GB, free: 7.812 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 9.865e-05/0.1648, allocations: 11.98 kB / 0.596 GB, free: 7.801 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.799e-05/0.1649, allocations: 19.88 kB / 0.596 GB, free: 7.781 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 5.07e-05/0.1649, allocations: 23.91 kB / 0.5961 GB, free: 7.758 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.866e-05/0.1649, allocations: 8 kB / 0.5961 GB, free: 7.75 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.054e-05/0.165, allocations: 19.92 kB / 0.5961 GB, free: 7.73 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.337e-05/0.1651, allocations: 19.92 kB / 0.5961 GB, free: 7.711 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.211e-05/0.1651, allocations: 19.86 kB / 0.5961 GB, free: 7.691 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001312/0.1653, allocations: 59.8 kB / 0.5962 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.226e-06/0.1653, allocations: 0 / 0.5962 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.613e-06/0.1653, allocations: 0 / 0.5962 GB, free: 7.633 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.594e-06/0.1653, allocations: 0 / 0.5962 GB, free: 7.633 MB / 0.4981 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.0005106/0.1658, allocations: 379.5 kB / 0.5965 GB, free: 7.211 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.1658, allocations: 8.031 kB / 0.5965 GB, free: 7.203 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.97e-05/0.1659, allocations: 38.73 kB / 0.5966 GB, free: 7.156 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.839e-05/0.1659, allocations: 4.844 kB / 0.5966 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001149/0.166, allocations: 168.3 kB / 0.5967 GB, free: 6.949 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.143e-05/0.1661, allocations: 4.375 kB / 0.5968 GB, free: 6.945 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.1661, allocations: 4.375 kB / 0.5968 GB, free: 6.941 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002479/0.1663, allocations: 74.2 kB / 0.5968 GB, free: 6.863 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1663, allocations: 7.875 kB / 0.5968 GB, free: 6.855 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.097e-06/0.1664, allocations: 4 kB / 0.5968 GB, free: 6.852 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.837e-06/0.1664, allocations: 4 kB / 0.5968 GB, free: 6.848 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002863/0.1667, allocations: 67.92 kB / 0.5969 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003465/0.167, allocations: 300.7 kB / 0.5972 GB, free: 6.438 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002055/0.1672, allocations: 62.64 kB / 0.5973 GB, free: 6.367 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.1674, allocations: 44.81 kB / 0.5973 GB, free: 6.32 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002408/0.1677, allocations: 113 kB / 0.5974 GB, free: 6.191 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.571e-05/0.1677, allocations: 38.56 kB / 0.5974 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=3): time 1.142e-06/0.1677, allocations: 0 / 0.5974 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3): time 0.0005388/0.1682, allocations: 141.6 kB / 0.5976 GB, free: 6 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.349e-05/0.1683, allocations: 55.41 kB / 0.5976 GB, free: 5.934 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.37e-05/0.1684, allocations: 133.2 kB / 0.5978 GB, free: 5.797 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.1684, allocations: 25.7 kB / 0.5978 GB, free: 5.766 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.554e-05/0.1685, allocations: 92.05 kB / 0.5979 GB, free: 5.672 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.1685, allocations: 11.89 kB / 0.5979 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.482e-05/0.1685, allocations: 13.72 kB / 0.5979 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.394e-05/0.1686, allocations: 314.8 kB / 0.5982 GB, free: 5.324 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001688/0.1688, allocations: 43.95 kB / 0.5982 GB, free: 5.281 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001389/0.1689, allocations: 39.89 kB / 0.5983 GB, free: 5.242 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002757/0.1692, allocations: 88.66 kB / 0.5984 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1692, allocations: 0 / 0.5984 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0003271/0.1696, allocations: 109.5 kB / 0.5985 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.523e-05/0.1696, allocations: 4 kB / 0.5985 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1696, allocations: 3.938 kB / 0.5985 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.1696, allocations: 0 / 0.5985 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001255/0.1697, allocations: 23.97 kB / 0.5985 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.47e-06/0.1698, allocations: 0 / 0.5985 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.161e-05/0.1698, allocations: 19.98 kB / 0.5985 GB, free: 4.988 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.197e-06/0.1699, allocations: 0 / 0.5985 GB, free: 4.988 MB / 0.4981 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.285e-05/0.1699, allocations: 117.7 kB / 0.5986 GB, free: 4.863 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.083e-05/0.17, allocations: 11.89 kB / 0.5986 GB, free: 4.852 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003666/0.1703, allocations: 117.5 kB / 0.5987 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.1704, allocations: 0 / 0.5987 GB, free: 4.723 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.1704, allocations: 4 kB / 0.5988 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.534e-06/0.1704, allocations: 0 / 0.5988 GB, free: 4.719 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001809/0.1706, allocations: 181.6 kB / 0.5989 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1706, allocations: 0 / 0.5989 GB, free: 4.492 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.052e-05/0.1707, allocations: 11.98 kB / 0.5989 GB, free: 4.48 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.404e-06/0.1707, allocations: 4 kB / 0.5989 GB, free: 4.477 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.037e-06/0.1707, allocations: 3.984 kB / 0.5989 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.1707, allocations: 0 / 0.5989 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.1707, allocations: 0 / 0.5989 GB, free: 4.473 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003599/0.1711, allocations: 207.4 kB / 0.5991 GB, free: 4.254 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.705e-05/0.1711, allocations: 93 kB / 0.5992 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.453e-05/0.1711, allocations: 0 / 0.5992 GB, free: 4.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001083/0.1712, allocations: 11.98 kB / 0.5992 GB, free: 4.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.906e-05/0.1713, allocations: 4 kB / 0.5992 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.309e-06/0.1713, allocations: 0 / 0.5992 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.723e-05/0.1714, allocations: 107.2 kB / 0.5993 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1714, allocations: 0 / 0.5993 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002305/0.1716, allocations: 12 kB / 0.5994 GB, free: 4.012 MB / 0.4981 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.0006544/0.1723, allocations: 0.7439 MB / 0.6001 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0003567/0.1726, allocations: 83.95 kB / 0.6002 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.1727, allocations: 0 / 0.6002 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001585/0.1728, allocations: 47.89 kB / 0.6002 GB, free: 3.113 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002468/0.1731, allocations: 24.7 kB / 0.6002 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.1735, allocations: 175.1 kB / 0.6004 GB, free: 2.883 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000226/0.1738, allocations: 0.6963 MB / 0.6011 GB, free: 2.16 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.941e-05/0.1738, allocations: 3.984 kB / 0.6011 GB, free: 2.156 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.078e-05/0.1739, allocations: 23.36 kB / 0.6011 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of SimCode: time 2.3e-07/0.1739, allocations: 0 / 0.6011 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01717/0.191, allocations: 1.855 MB / 0.6029 GB, free: 356 kB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.51/7.701, allocations: 8.109 kB / 0.6029 GB, free: 352 kB / 0.4981 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)