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.001318/0.001318, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.00151/0.00151, allocations: 211.3 kB / 22.24 MB, free: 4.855 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.444/1.444, allocations: 230.6 MB / 256 MB, free: 7.805 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.9131/0.9131, allocations: 145 MB / 457.4 MB, free: 15.28 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.002601/0.002601, allocations: 66.41 kB / 0.6331 GB, free: 6.691 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1758/0.1784, allocations: 87.89 MB / 0.7189 GB, free: 14.83 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.003249/0.1817, allocations: 1.454 MB / 0.7203 GB, free: 13.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003434/0.182, allocations: 92.59 kB / 0.7204 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.428e-05/0.1821, allocations: 4 kB / 0.7204 GB, free: 13.27 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 5.571e-05/0.1821, allocations: 3.938 kB / 0.7204 GB, free: 13.26 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.769e-05/0.1822, allocations: 7.922 kB / 0.7204 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002748/0.1824, allocations: 19.98 kB / 0.7205 GB, free: 13.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.914e-05/0.1825, allocations: 19.92 kB / 0.7205 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001008/0.1826, allocations: 8 kB / 0.7205 GB, free: 13.21 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.1826, allocations: 7.984 kB / 0.7205 GB, free: 13.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.643e-05/0.1827, allocations: 15.92 kB / 0.7205 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.1827, allocations: 4 kB / 0.7205 GB, free: 13.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001026/0.1828, allocations: 23.91 kB / 0.7205 GB, free: 13.16 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.166e-05/0.1828, allocations: 3.938 kB / 0.7205 GB, free: 13.15 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.1829, allocations: 8 kB / 0.7205 GB, free: 13.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001454/0.183, allocations: 47.75 kB / 0.7206 GB, free: 13.1 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.183, allocations: 0 / 0.7206 GB, free: 13.1 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.704e-06/0.183, allocations: 0 / 0.7206 GB, free: 13.1 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.16e-06/0.183, allocations: 0 / 0.7206 GB, free: 13.1 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.0004938/0.1835, allocations: 274.3 kB / 0.7209 GB, free: 12.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.538e-05/0.1836, allocations: 12.03 kB / 0.7209 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.821e-05/0.1836, allocations: 30.75 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.512e-05/0.1836, allocations: 0.9375 kB / 0.7209 GB, free: 12.75 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001211/0.1838, allocations: 110.5 kB / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.118e-05/0.1838, allocations: 4.375 kB / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.1838, allocations: 384 / 0.721 GB, free: 12.61 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001946/0.184, allocations: 58.17 kB / 0.7211 GB, free: 12.55 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.184, allocations: 3.938 kB / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.184, allocations: 0 / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.184, allocations: 7.938 kB / 0.7211 GB, free: 12.54 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001816/0.1842, allocations: 35.95 kB / 0.7211 GB, free: 12.5 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000354/0.1845, allocations: 216.1 kB / 0.7213 GB, free: 12.25 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001309/0.1847, allocations: 42.5 kB / 0.7214 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.444e-05/0.1848, allocations: 28.89 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.486e-05/0.1848, allocations: 4 kB / 0.7214 GB, free: 12.16 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.745e-05/0.1848, allocations: 34.5 kB / 0.7214 GB, free: 12.12 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.1848, allocations: 4 kB / 0.7214 GB, free: 12.11 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003769/0.1852, allocations: 85.64 kB / 0.7215 GB, free: 12.02 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.1852, allocations: 51.41 kB / 0.7216 GB, free: 11.96 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.1853, allocations: 105.8 kB / 0.7217 GB, free: 11.85 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.589e-05/0.1854, allocations: 25.7 kB / 0.7217 GB, free: 11.82 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 6.921e-05/0.1854, allocations: 88.14 kB / 0.7218 GB, free: 11.73 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.631e-05/0.1854, allocations: 3.953 kB / 0.7218 GB, free: 11.72 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.247e-05/0.1855, allocations: 17.84 kB / 0.7218 GB, free: 11.7 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000144/0.1856, allocations: 318.8 kB / 0.7221 GB, free: 11.38 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.608e-05/0.1857, allocations: 15.98 kB / 0.7221 GB, free: 11.36 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.296e-05/0.1858, allocations: 15.98 kB / 0.7221 GB, free: 11.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.1859, allocations: 48.75 kB / 0.7222 GB, free: 11.3 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.108e-06/0.186, allocations: 3.938 kB / 0.7222 GB, free: 11.29 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002107/0.1862, allocations: 73.67 kB / 0.7222 GB, free: 11.21 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.1862, allocations: 10.03 kB / 0.7222 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.598e-06/0.1862, allocations: 0 / 0.7222 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.619e-05/0.1862, allocations: 256 / 0.7222 GB, free: 11.21 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.964e-05/0.1863, allocations: 7.984 kB / 0.7223 GB, free: 11.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.314e-06/0.1863, allocations: 7.938 kB / 0.7223 GB, free: 11.19 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.952e-05/0.1864, allocations: 11.94 kB / 0.7223 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.267e-06/0.1864, allocations: 4 kB / 0.7223 GB, free: 11.18 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 8.957e-05/0.1864, allocations: 117.8 kB / 0.7224 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.48e-05/0.1865, allocations: 4 kB / 0.7224 GB, free: 11.05 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002416/0.1867, allocations: 77.22 kB / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1867, allocations: 0 / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1867, allocations: 0 / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.1867, allocations: 3.938 kB / 0.7225 GB, free: 10.96 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000175/0.1869, allocations: 132.7 kB / 0.7226 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1869, allocations: 0 / 0.7226 GB, free: 10.79 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.962e-05/0.187, allocations: 16.02 kB / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.786e-06/0.187, allocations: 0 / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.187, allocations: 0 / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.187, allocations: 0 / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.187, allocations: 0 / 0.7226 GB, free: 10.77 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002789/0.1873, allocations: 175.3 kB / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.013e-05/0.1873, allocations: 3.984 kB / 0.7228 GB, free: 10.58 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1873, allocations: 4 kB / 0.7228 GB, free: 10.57 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.831e-05/0.1874, allocations: 12.02 kB / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.546e-05/0.1874, allocations: 0 / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.1874, allocations: 0 / 0.7228 GB, free: 10.56 MB / 0.545 GB Notification: Performance of sorting global known variables: time 6.174e-05/0.1875, allocations: 91.27 kB / 0.7229 GB, free: 10.47 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.1875, allocations: 0 / 0.7229 GB, free: 10.47 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002258/0.1877, allocations: 4 kB / 0.7229 GB, free: 10.47 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.0006105/0.1883, allocations: 0.7084 MB / 0.7236 GB, free: 9.734 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002119/0.1885, allocations: 44 kB / 0.7236 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1885, allocations: 0 / 0.7236 GB, free: 9.691 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 8.813e-05/0.1886, allocations: 19.97 kB / 0.7236 GB, free: 9.672 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002915/0.1889, allocations: 4 kB / 0.7236 GB, free: 9.668 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.1893, allocations: 147.1 kB / 0.7238 GB, free: 9.484 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.614e-05/0.1894, allocations: 63.34 kB / 0.7238 GB, free: 9.402 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.411e-05/0.1894, allocations: 8.062 kB / 0.7239 GB, free: 9.395 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.798e-05/0.1895, allocations: 19.42 kB / 0.7239 GB, free: 9.375 MB / 0.545 GB Notification: Performance of SimCode: time 3.81e-07/0.1895, allocations: 0 / 0.7239 GB, free: 9.375 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02865/0.2181, allocations: 1.986 MB / 0.7258 GB, free: 7.531 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.03/11.24, allocations: 0 / 0.7258 GB, free: 7.531 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.931389125064015] Failed to read output from testmodel.py, exit status != 0: 11.352968425955623 11.379340845 11.191293952 Calling exit ...