Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.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.001836/0.001836, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.002206/0.002206, allocations: 214.7 kB / 22.26 MB, free: 5.125 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.469/1.469, allocations: 230.6 MB / 256 MB, free: 7.98 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.9119/0.9119, allocations: 145 MB / 457.4 MB, free: 15.51 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.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial",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.001983/0.001983, allocations: 70.75 kB / 0.6332 GB, free: 7.281 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1701, allocations: 87.88 MB / 0.719 GB, free: 15.42 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002649/0.1727, allocations: 1.458 MB / 0.7204 GB, free: 13.95 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003123/0.173, allocations: 100.6 kB / 0.7205 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.505e-05/0.1731, allocations: 0 / 0.7205 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.703e-05/0.1731, allocations: 0 / 0.7205 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.326e-05/0.1731, allocations: 3.938 kB / 0.7205 GB, free: 13.84 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002714/0.1734, allocations: 19.92 kB / 0.7205 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.939e-05/0.1735, allocations: 23.97 kB / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.679e-05/0.1736, allocations: 15.92 kB / 0.7206 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.119e-05/0.1736, allocations: 11.94 kB / 0.7206 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.109e-05/0.1736, allocations: 7.984 kB / 0.7206 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.267e-05/0.1737, allocations: 4 kB / 0.7206 GB, free: 13.76 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001034/0.1738, allocations: 19.97 kB / 0.7206 GB, free: 13.74 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.343e-05/0.1738, allocations: 11.94 kB / 0.7206 GB, free: 13.73 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.462e-05/0.1738, allocations: 7.938 kB / 0.7206 GB, free: 13.72 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001338/0.174, allocations: 39.88 kB / 0.7207 GB, free: 13.68 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.174, allocations: 0 / 0.7207 GB, free: 13.68 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.833e-06/0.174, allocations: 0 / 0.7207 GB, free: 13.68 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.578e-06/0.174, allocations: 0 / 0.7207 GB, free: 13.68 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004383/0.1744, allocations: 274.2 kB / 0.7209 GB, free: 13.38 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.1745, allocations: 12.03 kB / 0.721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.651e-05/0.1745, allocations: 38.67 kB / 0.721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.985e-05/0.1745, allocations: 0.9375 kB / 0.721 GB, free: 13.32 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1746, allocations: 114.4 kB / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.863e-06/0.1746, allocations: 384 / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.06e-05/0.1746, allocations: 384 / 0.7211 GB, free: 13.18 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001814/0.1748, allocations: 58.23 kB / 0.7212 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.075e-05/0.1748, allocations: 3.938 kB / 0.7212 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.427e-06/0.1748, allocations: 4 kB / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.388e-06/0.1749, allocations: 0 / 0.7212 GB, free: 13.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001631/0.175, allocations: 39.94 kB / 0.7212 GB, free: 13.07 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003324/0.1753, allocations: 220.1 kB / 0.7214 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1755, allocations: 54.42 kB / 0.7215 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.1756, allocations: 24.91 kB / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.1756, allocations: 0 / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.666e-05/0.1756, allocations: 38.55 kB / 0.7215 GB, free: 12.68 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.11e-07/0.1756, allocations: 0 / 0.7215 GB, free: 12.68 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003456/0.176, allocations: 89.58 kB / 0.7216 GB, free: 12.59 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.176, allocations: 55.41 kB / 0.7217 GB, free: 12.52 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.149e-05/0.1761, allocations: 101.9 kB / 0.7218 GB, free: 12.41 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.946e-05/0.1761, allocations: 25.7 kB / 0.7218 GB, free: 12.38 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.482e-05/0.1762, allocations: 88.12 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.668e-05/0.1762, allocations: 3.953 kB / 0.7219 GB, free: 12.29 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.234e-05/0.1763, allocations: 13.72 kB / 0.7219 GB, free: 12.27 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001378/0.1764, allocations: 319 kB / 0.7222 GB, free: 11.95 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.76e-05/0.1765, allocations: 19.97 kB / 0.7222 GB, free: 11.93 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.28e-05/0.1766, allocations: 23.92 kB / 0.7222 GB, free: 11.9 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001463/0.1767, allocations: 36.83 kB / 0.7223 GB, free: 11.86 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.431e-06/0.1767, allocations: 7.922 kB / 0.7223 GB, free: 11.86 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002211/0.1769, allocations: 77.62 kB / 0.7223 GB, free: 11.77 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.175e-05/0.1769, allocations: 4 kB / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.117e-06/0.1769, allocations: 0 / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.322e-05/0.177, allocations: 0 / 0.7224 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.779e-05/0.177, allocations: 15.98 kB / 0.7224 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.068e-06/0.177, allocations: 0 / 0.7224 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.808e-05/0.1771, allocations: 7.984 kB / 0.7224 GB, free: 11.75 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.709e-06/0.1771, allocations: 0 / 0.7224 GB, free: 11.75 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 (2): * Single equations (assignments): 2 * 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.695e-05/0.1772, allocations: 113.8 kB / 0.7225 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.953e-05/0.1772, allocations: 4 kB / 0.7225 GB, free: 11.62 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002259/0.1774, allocations: 77.27 kB / 0.7226 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-06/0.1774, allocations: 0 / 0.7226 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.1774, allocations: 0 / 0.7226 GB, free: 11.54 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.1774, allocations: 3.938 kB / 0.7226 GB, free: 11.53 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001673/0.1776, allocations: 136.6 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.1776, allocations: 4.031 kB / 0.7227 GB, free: 11.35 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.884e-05/0.1777, allocations: 11.98 kB / 0.7227 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.1777, allocations: 0 / 0.7227 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.912e-06/0.1777, allocations: 0 / 0.7227 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1777, allocations: 0 / 0.7227 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1777, allocations: 0 / 0.7227 GB, free: 11.34 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002563/0.1779, allocations: 175.4 kB / 0.7229 GB, free: 11.15 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 9.257e-06/0.1779, allocations: 7.922 kB / 0.7229 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.26e-05/0.178, allocations: 4.25 kB / 0.7229 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.18e-05/0.178, allocations: 4 kB / 0.7229 GB, free: 11.14 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.463e-05/0.1781, allocations: 11.98 kB / 0.7229 GB, free: 11.12 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.1781, allocations: 0 / 0.7229 GB, free: 11.12 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.61e-05/0.1781, allocations: 79.28 kB / 0.723 GB, free: 11.05 MB / 0.545 GB Notification: Performance of sort global known variables: time 6e-08/0.1781, allocations: 0 / 0.723 GB, free: 11.05 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002215/0.1783, allocations: 12 kB / 0.723 GB, free: 11.04 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 (2): * Single equations (assignments): 2 * 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.0005953/0.1789, allocations: 0.7085 MB / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002032/0.1791, allocations: 40 kB / 0.7237 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.482e-06/0.1791, allocations: 3.938 kB / 0.7237 GB, free: 10.26 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.752e-05/0.1792, allocations: 27.91 kB / 0.7238 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.1795, allocations: 4 kB / 0.7238 GB, free: 10.23 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004294/0.1799, allocations: 147.1 kB / 0.7239 GB, free: 10.04 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002987/0.1802, allocations: 0.6768 MB / 0.7246 GB, free: 9.34 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.119e-05/0.1802, allocations: 8.109 kB / 0.7246 GB, free: 9.332 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.344e-05/0.1803, allocations: 15.44 kB / 0.7246 GB, free: 9.32 MB / 0.545 GB Notification: Performance of SimCode: time 3.21e-07/0.1803, allocations: 0 / 0.7246 GB, free: 9.32 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02574/0.206, allocations: 1.548 MB / 0.7261 GB, free: 7.902 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.65/10.86, allocations: 9.812 kB / 0.7261 GB, free: 7.898 MB / 0.545 GB " [Timeout remaining time 649] (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.sim & python3 -m fmpy simulate --output-file BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial_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_Polynomial.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.647693488997902] Failed to read output from testmodel.py, exit status != 0: 10.958850097002141 10.974614166 10.797622273 Calling exit ...