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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001271/0.001271, allocations: 106 kB / 16.45 MB, free: 6.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001848/0.001848, allocations: 196.5 kB / 19.41 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.409/1.409, allocations: 225.6 MB / 247.8 MB, free: 13.96 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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-master/package.mo): time 0.8812/0.8812, allocations: 145.2 MB / 447.9 MB, free: 6.352 MB / 350.1 MB " [Timeout remaining time 179] Using package BuildSysPro with version 3.6.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.6.0-master/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.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: Performance of FrontEnd - loaded program: time 0.001897/0.001897, allocations: 67.67 kB / 0.62 GB, free: 1.379 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1645/0.1664, allocations: 86.63 MB / 0.7046 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Examples.Polynomial): time 0.002662/0.169, allocations: 1.45 MB / 0.706 GB, free: 9.246 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0003026/0.1693, allocations: 100.6 kB / 0.7061 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.1694, allocations: 0 / 0.7061 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.497e-05/0.1694, allocations: 0 / 0.7061 GB, free: 9.145 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.746e-05/0.1695, allocations: 11.91 kB / 0.7061 GB, free: 9.133 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002261/0.1697, allocations: 19.92 kB / 0.7061 GB, free: 9.113 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 7.15e-05/0.1698, allocations: 23.92 kB / 0.7061 GB, free: 9.09 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 8.645e-05/0.1698, allocations: 8 kB / 0.7061 GB, free: 9.082 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 3.665e-05/0.1699, allocations: 8 kB / 0.7062 GB, free: 9.074 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.715e-05/0.1699, allocations: 11.92 kB / 0.7062 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 9.508e-06/0.1699, allocations: 0 / 0.7062 GB, free: 9.062 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 8.922e-05/0.17, allocations: 27.91 kB / 0.7062 GB, free: 9.035 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.962e-05/0.1701, allocations: 4 kB / 0.7062 GB, free: 9.031 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.488e-05/0.1701, allocations: 11.92 kB / 0.7062 GB, free: 9.02 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001168/0.1702, allocations: 40.11 kB / 0.7062 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1702, allocations: 0 / 0.7062 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.483e-06/0.1702, allocations: 0 / 0.7062 GB, free: 8.98 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.579e-06/0.1702, allocations: 0 / 0.7062 GB, free: 8.98 MB / 0.5294 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.0004799/0.1707, allocations: 347.4 kB / 0.7066 GB, free: 8.59 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.767e-05/0.1707, allocations: 12.03 kB / 0.7066 GB, free: 8.578 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.119e-05/0.1708, allocations: 30.75 kB / 0.7066 GB, free: 8.539 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.41e-05/0.1708, allocations: 8.875 kB / 0.7066 GB, free: 8.531 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1709, allocations: 164.4 kB / 0.7068 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1709, allocations: 384 / 0.7068 GB, free: 8.332 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.1709, allocations: 8.312 kB / 0.7068 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001693/0.1711, allocations: 50.23 kB / 0.7068 GB, free: 8.27 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.1711, allocations: 11.81 kB / 0.7068 GB, free: 8.258 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.1711, allocations: 11.98 kB / 0.7069 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.918e-06/0.1711, allocations: 0 / 0.7069 GB, free: 8.246 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001589/0.1713, allocations: 35.95 kB / 0.7069 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003292/0.1716, allocations: 244.9 kB / 0.7071 GB, free: 7.922 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1718, allocations: 54.47 kB / 0.7072 GB, free: 7.859 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.956e-05/0.1718, allocations: 20.91 kB / 0.7072 GB, free: 7.836 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 7.863e-05/0.1719, allocations: 4 kB / 0.7072 GB, free: 7.832 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.172, allocations: 34.55 kB / 0.7072 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.172, allocations: 0 / 0.7072 GB, free: 7.789 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003566/0.1723, allocations: 93.59 kB / 0.7073 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.18e-05/0.1724, allocations: 51.41 kB / 0.7074 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.101e-05/0.1724, allocations: 109.8 kB / 0.7075 GB, free: 7.512 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.699e-05/0.1725, allocations: 25.7 kB / 0.7075 GB, free: 7.48 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.093e-05/0.1725, allocations: 88.14 kB / 0.7076 GB, free: 7.391 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.777e-05/0.1725, allocations: 7.891 kB / 0.7076 GB, free: 7.383 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-05/0.1726, allocations: 13.72 kB / 0.7076 GB, free: 7.363 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001365/0.1727, allocations: 319 kB / 0.7079 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.383e-05/0.1728, allocations: 19.97 kB / 0.7079 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.863e-05/0.1728, allocations: 15.98 kB / 0.7079 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001438/0.173, allocations: 44.81 kB / 0.708 GB, free: 6.961 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.173, allocations: 3.938 kB / 0.708 GB, free: 6.957 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001888/0.1732, allocations: 65.73 kB / 0.7081 GB, free: 6.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.1732, allocations: 8 kB / 0.7081 GB, free: 6.879 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.47e-06/0.1732, allocations: 3.984 kB / 0.7081 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1732, allocations: 0 / 0.7081 GB, free: 6.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.526e-05/0.1733, allocations: 12.19 kB / 0.7081 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1733, allocations: 0 / 0.7081 GB, free: 6.863 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.605e-05/0.1734, allocations: 11.98 kB / 0.7081 GB, free: 6.852 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.743e-06/0.1734, allocations: 8.031 kB / 0.7081 GB, free: 6.844 MB / 0.5294 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.069e-05/0.1734, allocations: 110.7 kB / 0.7082 GB, free: 6.727 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.459e-05/0.1735, allocations: 3.953 kB / 0.7082 GB, free: 6.723 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002217/0.1737, allocations: 81.17 kB / 0.7083 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-06/0.1737, allocations: 0 / 0.7083 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.926e-06/0.1737, allocations: 0 / 0.7083 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.485e-06/0.1737, allocations: 0 / 0.7083 GB, free: 6.637 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001787/0.1739, allocations: 173.6 kB / 0.7085 GB, free: 6.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.1739, allocations: 3.984 kB / 0.7085 GB, free: 6.414 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.253e-05/0.1739, allocations: 4 kB / 0.7085 GB, free: 6.41 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.469e-06/0.1739, allocations: 7.938 kB / 0.7085 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.422e-06/0.1739, allocations: 0 / 0.7085 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.1739, allocations: 0 / 0.7085 GB, free: 6.402 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.51e-07/0.1739, allocations: 3.938 kB / 0.7085 GB, free: 6.398 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.1742, allocations: 171.5 kB / 0.7086 GB, free: 6.215 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 4.764e-05/0.1742, allocations: 81.09 kB / 0.7087 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.111e-05/0.1742, allocations: 0 / 0.7087 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.051e-05/0.1743, allocations: 4 kB / 0.7087 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.351e-05/0.1743, allocations: 7.984 kB / 0.7087 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.545e-06/0.1743, allocations: 0 / 0.7087 GB, free: 6.105 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.033e-05/0.1744, allocations: 83.28 kB / 0.7088 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of sort global known variables: time 7e-08/0.1744, allocations: 0 / 0.7088 GB, free: 6.023 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002194/0.1746, allocations: 15.98 kB / 0.7088 GB, free: 6.008 MB / 0.5294 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.0006008/0.1752, allocations: 0.7045 MB / 0.7095 GB, free: 5.277 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0002023/0.1754, allocations: 43.98 kB / 0.7095 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.1754, allocations: 4 kB / 0.7096 GB, free: 5.23 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 8.072e-05/0.1755, allocations: 15.98 kB / 0.7096 GB, free: 5.215 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.1758, allocations: 10.59 kB / 0.7096 GB, free: 5.207 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.1762, allocations: 147 kB / 0.7097 GB, free: 5.023 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/0.1765, allocations: 0.6807 MB / 0.7104 GB, free: 4.316 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.155e-05/0.1765, allocations: 4.125 kB / 0.7104 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.16e-05/0.1766, allocations: 15.44 kB / 0.7104 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of SimCode: time 3.2e-07/0.1766, allocations: 0 / 0.7104 GB, free: 4.297 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02315/0.1997, allocations: 1.445 MB / 0.7118 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.936/8.136, allocations: 9 kB / 0.7118 GB, free: 2.938 MB / 0.5294 GB " [Timeout remaining time 652] (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: 11.651370828971267] Failed to read output from testmodel.py, exit status != 0: 8.204488683957607 8.228600632 8.054086341 Calling exit ...