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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00135/0.00135, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001554/0.001554, allocations: 213.5 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.475/1.475, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.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.7.0/package.mo): time 0.9165/0.9165, allocations: 145 MB / 457.4 MB, free: 15.3 MB / 366.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.7.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: BuildSysPro requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002123/0.002123, allocations: 69.58 kB / 0.6331 GB, free: 6.695 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1729/0.175, allocations: 87.89 MB / 0.7189 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Biquadratic): time 0.004373/0.1794, allocations: 1.491 MB / 0.7204 GB, free: 13.32 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004937/0.1799, allocations: 108.5 kB / 0.7205 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.735e-05/0.1799, allocations: 0 / 0.7205 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.116e-05/0.18, allocations: 3.938 kB / 0.7205 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.356e-05/0.1801, allocations: 11.92 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002602/0.1803, allocations: 19.97 kB / 0.7205 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.000127/0.1805, allocations: 47.84 kB / 0.7206 GB, free: 13.13 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001133/0.1806, allocations: 8 kB / 0.7206 GB, free: 13.12 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.498e-05/0.1806, allocations: 19.92 kB / 0.7206 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.701e-05/0.1807, allocations: 19.92 kB / 0.7206 GB, free: 13.09 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.28e-05/0.1807, allocations: 4 kB / 0.7206 GB, free: 13.08 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 8.302e-05/0.1808, allocations: 19.92 kB / 0.7206 GB, free: 13.06 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 5.805e-05/0.1809, allocations: 15.92 kB / 0.7206 GB, free: 13.05 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 4.44e-05/0.1809, allocations: 19.92 kB / 0.7207 GB, free: 13.03 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001735/0.1811, allocations: 55.73 kB / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.1811, allocations: 0 / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.523e-06/0.1811, allocations: 0 / 0.7207 GB, free: 12.97 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.1811, allocations: 0 / 0.7207 GB, free: 12.97 MB / 0.545 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.0007243/0.1818, allocations: 302.1 kB / 0.721 GB, free: 12.64 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.087e-05/0.1819, allocations: 12.03 kB / 0.721 GB, free: 12.63 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.621e-05/0.1819, allocations: 42.67 kB / 0.7211 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.615e-05/0.182, allocations: 4.891 kB / 0.7211 GB, free: 12.58 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.1821, allocations: 122.4 kB / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1821, allocations: 384 / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.816e-05/0.1822, allocations: 384 / 0.7212 GB, free: 12.43 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003849/0.1825, allocations: 78.2 kB / 0.7213 GB, free: 12.35 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.824e-05/0.1826, allocations: 7.938 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.1826, allocations: 3.938 kB / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.1826, allocations: 0 / 0.7213 GB, free: 12.34 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004983/0.1831, allocations: 75.92 kB / 0.7213 GB, free: 12.27 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005433/0.1836, allocations: 251.9 kB / 0.7216 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003356/0.1839, allocations: 70.53 kB / 0.7216 GB, free: 11.9 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002467/0.1842, allocations: 40.91 kB / 0.7217 GB, free: 11.86 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002988/0.1845, allocations: 35.97 kB / 0.7217 GB, free: 11.82 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.881e-05/0.1845, allocations: 30.56 kB / 0.7218 GB, free: 11.78 MB / 0.545 GB Notification: Performance of pre-optimization done (n=3): time 1.603e-06/0.1845, allocations: 0 / 0.7218 GB, free: 11.78 MB / 0.545 GB Notification: Performance of matching and sorting (n=3): time 0.0008895/0.1854, allocations: 153.5 kB / 0.7219 GB, free: 11.62 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.828e-05/0.1855, allocations: 51.41 kB / 0.7219 GB, free: 11.56 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001795/0.1857, allocations: 125.8 kB / 0.7221 GB, free: 11.43 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.597e-05/0.1857, allocations: 25.7 kB / 0.7221 GB, free: 11.4 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.312e-05/0.1858, allocations: 100.1 kB / 0.7222 GB, free: 11.3 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1858, allocations: 3.953 kB / 0.7222 GB, free: 11.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.19e-05/0.1858, allocations: 17.72 kB / 0.7222 GB, free: 11.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001925/0.186, allocations: 318.8 kB / 0.7225 GB, free: 10.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002376/0.1863, allocations: 35.97 kB / 0.7225 GB, free: 10.91 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002242/0.1865, allocations: 35.95 kB / 0.7226 GB, free: 10.88 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004702/0.187, allocations: 88.72 kB / 0.7227 GB, free: 10.79 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.187, allocations: 0 / 0.7227 GB, free: 10.79 MB / 0.545 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0005127/0.1875, allocations: 113.5 kB / 0.7228 GB, free: 10.67 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.1875, allocations: 4 kB / 0.7228 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.693e-06/0.1875, allocations: 0 / 0.7228 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/0.1875, allocations: 0 / 0.7228 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001892/0.1877, allocations: 15.98 kB / 0.7228 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.027e-05/0.1877, allocations: 11.94 kB / 0.7228 GB, free: 10.64 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001341/0.1879, allocations: 19.97 kB / 0.7228 GB, free: 10.62 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.1879, allocations: 3.984 kB / 0.7228 GB, free: 10.62 MB / 0.545 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.0001423/0.188, allocations: 116.8 kB / 0.7229 GB, free: 10.5 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.851e-05/0.1881, allocations: 7.953 kB / 0.7229 GB, free: 10.49 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005684/0.1886, allocations: 125.5 kB / 0.7231 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1886, allocations: 4 kB / 0.7231 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.1886, allocations: 0 / 0.7231 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-06/0.1886, allocations: 0 / 0.7231 GB, free: 10.35 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002953/0.1889, allocations: 148.7 kB / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.1889, allocations: 3.938 kB / 0.7232 GB, free: 10.16 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001355/0.1891, allocations: 19.97 kB / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.425e-06/0.1891, allocations: 0 / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.114e-05/0.1891, allocations: 0 / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1891, allocations: 0 / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.1891, allocations: 0 / 0.7232 GB, free: 10.14 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000569/0.1897, allocations: 219.3 kB / 0.7234 GB, free: 9.906 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.52e-05/0.1897, allocations: 3.938 kB / 0.7234 GB, free: 9.902 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.1897, allocations: 4 kB / 0.7234 GB, free: 9.898 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.1899, allocations: 12.41 kB / 0.7235 GB, free: 9.887 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.094e-05/0.1899, allocations: 7.984 kB / 0.7235 GB, free: 9.879 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.48e-06/0.1899, allocations: 0 / 0.7235 GB, free: 9.879 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001192/0.1901, allocations: 106.3 kB / 0.7236 GB, free: 9.777 MB / 0.545 GB Notification: Performance of sort global known variables: time 9.1e-08/0.1901, allocations: 0 / 0.7236 GB, free: 9.777 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0004227/0.1905, allocations: 12 kB / 0.7236 GB, free: 9.766 MB / 0.545 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.001074/0.1915, allocations: 0.7397 MB / 0.7243 GB, free: 9 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0005121/0.1921, allocations: 91.84 kB / 0.7244 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.1921, allocations: 0 / 0.7244 GB, free: 8.91 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.1923, allocations: 35.97 kB / 0.7244 GB, free: 8.875 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004282/0.1927, allocations: 7.984 kB / 0.7244 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007141/0.1934, allocations: 195 kB / 0.7246 GB, free: 8.637 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.582e-05/0.1935, allocations: 71.34 kB / 0.7247 GB, free: 8.547 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 4.346e-05/0.1936, allocations: 3.984 kB / 0.7247 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.74e-05/0.1936, allocations: 19.44 kB / 0.7247 GB, free: 8.523 MB / 0.545 GB Notification: Performance of SimCode: time 3.91e-07/0.1936, allocations: 0 / 0.7247 GB, free: 8.523 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03508/0.2287, allocations: 2.455 MB / 0.7271 GB, free: 6.211 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.25/11.47, allocations: 6.234 kB / 0.7271 GB, free: 6.211 MB / 0.545 GB " [Timeout remaining time 648] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.273585879709572] Failed to read output from testmodel.py, exit status != 0: 11.580861392430961 11.608137924 11.422326303 Calling exit ...