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.001304/0.001304, allocations: 114.3 kB / 18.94 MB, free: 2.957 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.001527/0.001527, allocations: 216.9 kB / 22.26 MB, free: 5.113 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.497/1.497, allocations: 230.6 MB / 256 MB, free: 8.031 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.9433/0.9433, allocations: 145 MB / 457.4 MB, free: 15.55 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.002018/0.002018, allocations: 72.77 kB / 0.6332 GB, free: 7.336 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1786, allocations: 87.88 MB / 0.719 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002951/0.1815, allocations: 1.463 MB / 0.7204 GB, free: 13.98 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003655/0.1819, allocations: 100.6 kB / 0.7205 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.372e-05/0.1819, allocations: 0 / 0.7205 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 6.641e-05/0.182, allocations: 0 / 0.7205 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.291e-05/0.182, allocations: 7.938 kB / 0.7205 GB, free: 13.88 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000279/0.1823, allocations: 15.92 kB / 0.7205 GB, free: 13.86 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.782e-05/0.1824, allocations: 31.92 kB / 0.7206 GB, free: 13.83 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.792e-05/0.1825, allocations: 4 kB / 0.7206 GB, free: 13.82 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 3.272e-05/0.1825, allocations: 11.92 kB / 0.7206 GB, free: 13.81 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.1826, allocations: 8 kB / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.1826, allocations: 0 / 0.7206 GB, free: 13.8 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001036/0.1827, allocations: 27.97 kB / 0.7206 GB, free: 13.78 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.347e-05/0.1827, allocations: 7.922 kB / 0.7206 GB, free: 13.77 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.932e-05/0.1827, allocations: 15.92 kB / 0.7206 GB, free: 13.75 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001538/0.1829, allocations: 35.89 kB / 0.7207 GB, free: 13.72 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.1829, allocations: 3.938 kB / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.743e-06/0.1829, allocations: 0 / 0.7207 GB, free: 13.71 MB / 0.545 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.1829, allocations: 4 kB / 0.7207 GB, free: 13.71 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.0004692/0.1834, allocations: 270.2 kB / 0.7209 GB, free: 13.41 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.361e-05/0.1834, allocations: 8.031 kB / 0.721 GB, free: 13.41 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.719e-05/0.1835, allocations: 30.75 kB / 0.721 GB, free: 13.37 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.94e-05/0.1835, allocations: 8.938 kB / 0.721 GB, free: 13.36 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001188/0.1836, allocations: 118.4 kB / 0.7211 GB, free: 13.22 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.1836, allocations: 4.375 kB / 0.7211 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.1836, allocations: 384 / 0.7211 GB, free: 13.21 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001913/0.1838, allocations: 54.23 kB / 0.7212 GB, free: 13.16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.185e-05/0.1838, allocations: 3.938 kB / 0.7212 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.1838, allocations: 0 / 0.7212 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.528e-06/0.1838, allocations: 0 / 0.7212 GB, free: 13.15 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000168/0.184, allocations: 35.97 kB / 0.7212 GB, free: 13.12 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000342/0.1844, allocations: 224 kB / 0.7214 GB, free: 12.86 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00014/0.1845, allocations: 54.42 kB / 0.7215 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.909e-05/0.1846, allocations: 16.91 kB / 0.7215 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.426e-05/0.1846, allocations: 4 kB / 0.7215 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.1846, allocations: 34.56 kB / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.1846, allocations: 0 / 0.7215 GB, free: 12.73 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003574/0.185, allocations: 89.58 kB / 0.7216 GB, free: 12.63 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.746e-05/0.185, allocations: 51.41 kB / 0.7216 GB, free: 12.57 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.529e-05/0.1851, allocations: 109.8 kB / 0.7218 GB, free: 12.45 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.816e-05/0.1852, allocations: 25.7 kB / 0.7218 GB, free: 12.42 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.945e-05/0.1852, allocations: 84.14 kB / 0.7219 GB, free: 12.34 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.1852, allocations: 11.92 kB / 0.7219 GB, free: 12.32 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.501e-05/0.1853, allocations: 17.84 kB / 0.7219 GB, free: 12.3 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.000133/0.1854, allocations: 314.8 kB / 0.7222 GB, free: 11.98 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.1855, allocations: 15.98 kB / 0.7222 GB, free: 11.97 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.634e-05/0.1856, allocations: 19.97 kB / 0.7222 GB, free: 11.95 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001543/0.1857, allocations: 44.83 kB / 0.7223 GB, free: 11.9 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.1857, allocations: 8 kB / 0.7223 GB, free: 11.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002073/0.1859, allocations: 73.55 kB / 0.7223 GB, free: 11.82 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.186, allocations: 7.938 kB / 0.7223 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.186, allocations: 0 / 0.7223 GB, free: 11.81 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.186, allocations: 4 kB / 0.7224 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.1861, allocations: 7.984 kB / 0.7224 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1861, allocations: 0 / 0.7224 GB, free: 11.8 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.987e-05/0.1861, allocations: 12.02 kB / 0.7224 GB, free: 11.79 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.17e-06/0.1861, allocations: 0 / 0.7224 GB, free: 11.79 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.656e-05/0.1862, allocations: 117.8 kB / 0.7225 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.437e-05/0.1862, allocations: 3.938 kB / 0.7225 GB, free: 11.66 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002458/0.1865, allocations: 73.28 kB / 0.7226 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1865, allocations: 0 / 0.7226 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.1865, allocations: 3.938 kB / 0.7226 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.1865, allocations: 4.031 kB / 0.7226 GB, free: 11.57 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001891/0.1867, allocations: 148.6 kB / 0.7227 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1867, allocations: 256 / 0.7227 GB, free: 11.38 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.622e-05/0.1867, allocations: 11.98 kB / 0.7227 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1867, allocations: 0 / 0.7227 GB, free: 11.37 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.893e-06/0.1868, allocations: 4 kB / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.452e-06/0.1868, allocations: 0 / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1868, allocations: 0 / 0.7227 GB, free: 11.36 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002618/0.187, allocations: 175.4 kB / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 6.443e-06/0.187, allocations: 0 / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.252e-05/0.187, allocations: 0 / 0.7229 GB, free: 11.18 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.822e-05/0.1871, allocations: 7.984 kB / 0.7229 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.382e-05/0.1871, allocations: 0 / 0.7229 GB, free: 11.17 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-06/0.1872, allocations: 4 kB / 0.7229 GB, free: 11.16 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.798e-05/0.1872, allocations: 87.27 kB / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of sort global known variables: time 1e-07/0.1872, allocations: 32 / 0.723 GB, free: 11.08 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002331/0.1874, allocations: 15.94 kB / 0.723 GB, free: 11.06 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.0005935/0.188, allocations: 0.6929 MB / 0.7237 GB, free: 10.34 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002244/0.1883, allocations: 43.98 kB / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.1883, allocations: 0 / 0.7237 GB, free: 10.3 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.099e-05/0.1884, allocations: 27.91 kB / 0.7237 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002738/0.1886, allocations: 0 / 0.7237 GB, free: 10.27 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004988/0.1891, allocations: 151.1 kB / 0.7239 GB, free: 10.09 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003312/0.1895, allocations: 0.6847 MB / 0.7246 GB, free: 9.375 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.389e-05/0.1895, allocations: 3.984 kB / 0.7246 GB, free: 9.371 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.283e-05/0.1895, allocations: 11.42 kB / 0.7246 GB, free: 9.363 MB / 0.545 GB Notification: Performance of SimCode: time 3.11e-07/0.1895, allocations: 0 / 0.7246 GB, free: 9.363 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02873/0.2182, allocations: 1.55 MB / 0.7261 GB, free: 7.945 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.07/11.28, allocations: 11.56 kB / 0.7261 GB, free: 7.938 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: 15.1300519478973] Failed to read output from testmodel.py, exit status != 0: 11.385653821984306 11.402955342 11.216572755 Calling exit ...