Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Utilities.Math.Functions.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.001685/0.001685, allocations: 114.9 kB / 17.84 MB, free: 5.312 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.002019/0.002019, allocations: 201.6 kB / 20.8 MB, free: 2.371 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.516/1.516, allocations: 230.6 MB / 254.2 MB, free: 15.08 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9955/0.9955, allocations: 150 MB / 460.2 MB, free: 5.305 MB / 350.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/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(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA 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.001951/0.001951, allocations: 65.41 kB / 0.6368 GB, free: 30.44 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1725/0.1745, allocations: 89.13 MB / 0.7239 GB, free: 4.008 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Polynomial): time 0.001714/0.1762, allocations: 0.5835 MB / 0.7245 GB, free: 3.422 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002269/0.1764, allocations: 19.95 kB / 0.7245 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.282e-05/0.1764, allocations: 0 / 0.7245 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 1.588e-05/0.1765, allocations: 0 / 0.7245 GB, free: 3.402 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 9.197e-06/0.1765, allocations: 3.938 kB / 0.7245 GB, free: 3.398 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002638/0.1767, allocations: 15.98 kB / 0.7245 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 4.514e-05/0.1768, allocations: 4 kB / 0.7245 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.1768, allocations: 0 / 0.7245 GB, free: 3.379 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 1.571e-05/0.1768, allocations: 3.984 kB / 0.7245 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 2.64e-05/0.1769, allocations: 8 kB / 0.7245 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.14e-05/0.1769, allocations: 0 / 0.7245 GB, free: 3.367 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.166e-05/0.1769, allocations: 8 kB / 0.7245 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 9.949e-06/0.177, allocations: 0 / 0.7245 GB, free: 3.359 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.177, allocations: 3.984 kB / 0.7245 GB, free: 3.355 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 8.189e-05/0.1771, allocations: 11.98 kB / 0.7245 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.1771, allocations: 0 / 0.7245 GB, free: 3.344 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.934e-06/0.1771, allocations: 3.938 kB / 0.7245 GB, free: 3.34 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.1771, allocations: 0 / 0.7245 GB, free: 3.34 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003455/0.1774, allocations: 323.7 kB / 0.7248 GB, free: 2.973 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.824e-05/0.1774, allocations: 12.03 kB / 0.7249 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.045e-05/0.1775, allocations: 192 / 0.7249 GB, free: 2.961 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.568e-05/0.1775, allocations: 30.75 kB / 0.7249 GB, free: 2.922 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.315e-05/0.1775, allocations: 4.938 kB / 0.7249 GB, free: 2.918 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001141/0.1776, allocations: 164.3 kB / 0.725 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.478e-06/0.1777, allocations: 384 / 0.725 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.112e-06/0.1777, allocations: 384 / 0.725 GB, free: 2.719 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001058/0.1778, allocations: 34 kB / 0.7251 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.1778, allocations: 0 / 0.7251 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.825e-06/0.1778, allocations: 8 kB / 0.7251 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.1778, allocations: 0 / 0.7251 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.931e-05/0.1778, allocations: 0 / 0.7251 GB, free: 2.672 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001583/0.178, allocations: 145.7 kB / 0.7252 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.719e-05/0.178, allocations: 22.55 kB / 0.7253 GB, free: 2.449 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.973e-05/0.178, allocations: 8.844 kB / 0.7253 GB, free: 2.438 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.861e-05/0.1781, allocations: 4.062 kB / 0.7253 GB, free: 2.434 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.177e-05/0.1781, allocations: 38.5 kB / 0.7253 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1781, allocations: 0 / 0.7253 GB, free: 2.387 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001409/0.1783, allocations: 33.7 kB / 0.7253 GB, free: 2.348 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.428e-05/0.1783, allocations: 51.41 kB / 0.7254 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.596e-05/0.1784, allocations: 89.86 kB / 0.7255 GB, free: 2.188 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1784, allocations: 29.7 kB / 0.7255 GB, free: 2.152 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 4.779e-05/0.1784, allocations: 80.14 kB / 0.7256 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 3.275e-05/0.1784, allocations: 3.953 kB / 0.7256 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.949e-05/0.1785, allocations: 21.77 kB / 0.7256 GB, free: 2.039 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001652/0.1786, allocations: 319.2 kB / 0.7259 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.1787, allocations: 0 / 0.7259 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.512e-06/0.1787, allocations: 0 / 0.7259 GB, free: 1.719 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.1787, allocations: 8.859 kB / 0.7259 GB, free: 1.707 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.689e-06/0.1787, allocations: 4 kB / 0.7259 GB, free: 1.703 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.695e-05/0.1788, allocations: 29.7 kB / 0.7259 GB, free: 1.668 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.654e-05/0.1788, allocations: 12.03 kB / 0.726 GB, free: 1.656 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.172e-06/0.1788, allocations: 7.984 kB / 0.726 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.1788, allocations: 0 / 0.726 GB, free: 1.648 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.855e-05/0.1788, allocations: 3.938 kB / 0.726 GB, free: 1.645 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.1789, allocations: 7.938 kB / 0.726 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.178e-05/0.1789, allocations: 0 / 0.726 GB, free: 1.637 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.211e-05/0.1789, allocations: 0 / 0.726 GB, free: 1.637 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 (1): * Single equations (assignments): 1 * 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.576e-05/0.179, allocations: 105.8 kB / 0.7261 GB, free: 1.523 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.179, allocations: 11.88 kB / 0.7261 GB, free: 1.512 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.1791, allocations: 44.81 kB / 0.7261 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-06/0.1791, allocations: 0 / 0.7261 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.1791, allocations: 0 / 0.7261 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1791, allocations: 0 / 0.7261 GB, free: 1.465 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.1792, allocations: 145.7 kB / 0.7263 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.1792, allocations: 0 / 0.7263 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.004e-05/0.1792, allocations: 7.969 kB / 0.7263 GB, free: 1.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.1792, allocations: 3.938 kB / 0.7263 GB, free: 1.262 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.1792, allocations: 4.031 kB / 0.7263 GB, free: 1.258 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.1792, allocations: 4 kB / 0.7263 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.1792, allocations: 0 / 0.7263 GB, free: 1.254 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.632e-05/0.1793, allocations: 57.08 kB / 0.7263 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.1794, allocations: 81.09 kB / 0.7264 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.1794, allocations: 7.938 kB / 0.7264 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.03e-05/0.1794, allocations: 0 / 0.7264 GB, free: 1.074 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.652e-05/0.1794, allocations: 4.031 kB / 0.7264 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.466e-06/0.1794, allocations: 0 / 0.7264 GB, free: 1.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 4.411e-05/0.1795, allocations: 75.28 kB / 0.7265 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.1795, allocations: 0 / 0.7265 GB, free: 0.9961 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000194/0.1797, allocations: 8 kB / 0.7265 GB, free: 0.9883 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 (1): * Single equations (assignments): 1 * 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.0004798/0.1801, allocations: 0.6046 MB / 0.7271 GB, free: 360 kB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 8.425e-05/0.1802, allocations: 4 kB / 0.7271 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.1802, allocations: 0 / 0.7271 GB, free: 356 kB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 7.364e-06/0.1802, allocations: 4 kB / 0.7271 GB, free: 352 kB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001266/0.1804, allocations: 0 / 0.7271 GB, free: 352 kB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003303/0.1807, allocations: 114.5 kB / 0.7272 GB, free: 196 kB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.1811, allocations: 0.6729 MB / 0.7279 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.473e-05/0.1811, allocations: 4.125 kB / 0.7279 GB, free: 15.49 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.484e-05/0.1811, allocations: 11.38 kB / 0.7279 GB, free: 15.48 MB / 0.545 GB Notification: Performance of SimCode: time 3.01e-07/0.1811, allocations: 0 / 0.7279 GB, free: 15.48 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01767/0.1988, allocations: 1.054 MB / 0.7289 GB, free: 14.56 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.254/8.453, allocations: 14.53 kB / 0.7289 GB, free: 14.55 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.390909485053271] Failed to read output from testmodel.py, exit status != 0: 8.580010752019007 8.596263745 8.416078451 Calling exit ...