Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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.001457/0.001457, allocations: 122 kB / 17.84 MB, free: 5.254 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.001597/0.001597, allocations: 199.8 kB / 20.79 MB, free: 2.316 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.498/1.498, 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 1.007/1.007, allocations: 150 MB / 460.2 MB, free: 5.227 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.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_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.002088/0.002088, allocations: 75.73 kB / 0.6368 GB, free: 30.45 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1711, allocations: 89.13 MB / 0.7238 GB, free: 3.977 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002586/0.1737, allocations: 1.451 MB / 0.7253 GB, free: 2.516 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0002828/0.174, allocations: 88.22 kB / 0.7253 GB, free: 2.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.472e-05/0.174, allocations: 3.938 kB / 0.7254 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 5.337e-05/0.1741, allocations: 0 / 0.7254 GB, free: 2.426 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 3.202e-05/0.1741, allocations: 3.938 kB / 0.7254 GB, free: 2.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001989/0.1743, allocations: 15.98 kB / 0.7254 GB, free: 2.406 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 6.691e-05/0.1744, allocations: 27.92 kB / 0.7254 GB, free: 2.379 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 7.458e-05/0.1744, allocations: 7.984 kB / 0.7254 GB, free: 2.371 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 2.943e-05/0.1745, allocations: 15.92 kB / 0.7254 GB, free: 2.355 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 3.218e-05/0.1745, allocations: 11.92 kB / 0.7254 GB, free: 2.344 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.338e-05/0.1745, allocations: 4 kB / 0.7254 GB, free: 2.34 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 6.05e-05/0.1746, allocations: 12 kB / 0.7254 GB, free: 2.328 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 3.967e-05/0.1746, allocations: 7.984 kB / 0.7255 GB, free: 2.32 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.383e-05/0.1746, allocations: 11.94 kB / 0.7255 GB, free: 2.309 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001489/0.1748, allocations: 32.11 kB / 0.7255 GB, free: 2.277 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 2.985e-06/0.1748, allocations: 7.938 kB / 0.7255 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.91e-07/0.1748, allocations: 0 / 0.7255 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1748, allocations: 0 / 0.7255 GB, free: 2.27 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.0004659/0.1753, allocations: 347.4 kB / 0.7258 GB, free: 1.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.458e-05/0.1753, allocations: 8.031 kB / 0.7258 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 9.878e-06/0.1753, allocations: 192 / 0.7258 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.631e-05/0.1753, allocations: 42.69 kB / 0.7259 GB, free: 1.82 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.161e-05/0.1754, allocations: 4.891 kB / 0.7259 GB, free: 1.816 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.1755, allocations: 164.4 kB / 0.726 GB, free: 1.617 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.851e-06/0.1755, allocations: 4.375 kB / 0.726 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.109e-05/0.1755, allocations: 384 / 0.726 GB, free: 1.613 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.1757, allocations: 53.98 kB / 0.7261 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.674e-06/0.1757, allocations: 0 / 0.7261 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.913e-06/0.1757, allocations: 0 / 0.7261 GB, free: 1.555 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.1757, allocations: 4 kB / 0.7261 GB, free: 1.551 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001784/0.1759, allocations: 35.95 kB / 0.7261 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003237/0.1762, allocations: 264.8 kB / 0.7264 GB, free: 1.207 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001436/0.1764, allocations: 34.56 kB / 0.7264 GB, free: 1.164 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.348e-05/0.1765, allocations: 24.89 kB / 0.7264 GB, free: 1.137 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.431e-05/0.1765, allocations: 7.984 kB / 0.7265 GB, free: 1.129 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.1765, allocations: 38.56 kB / 0.7265 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.1765, allocations: 0 / 0.7265 GB, free: 1.082 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003602/0.1769, allocations: 93.47 kB / 0.7266 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.667e-05/0.1769, allocations: 51.41 kB / 0.7266 GB, free: 0.9219 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.724e-05/0.177, allocations: 109.8 kB / 0.7267 GB, free: 0.8047 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.524e-05/0.177, allocations: 25.7 kB / 0.7268 GB, free: 0.7734 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.06e-05/0.1771, allocations: 90.16 kB / 0.7268 GB, free: 0.6836 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 1.41e-05/0.1771, allocations: 3.953 kB / 0.7268 GB, free: 0.6797 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.1771, allocations: 13.72 kB / 0.7269 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.1773, allocations: 318.8 kB / 0.7272 GB, free: 348 kB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.76e-05/0.1773, allocations: 15.98 kB / 0.7272 GB, free: 332 kB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.1774, allocations: 15.98 kB / 0.7272 GB, free: 316 kB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001695/0.1776, allocations: 52.81 kB / 0.7272 GB, free: 260 kB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.1776, allocations: 4 kB / 0.7273 GB, free: 256 kB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002062/0.1778, allocations: 69.84 kB / 0.7273 GB, free: 180 kB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.1778, allocations: 4 kB / 0.7273 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.1778, allocations: 0 / 0.7273 GB, free: 176 kB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.867e-05/0.1778, allocations: 8 kB / 0.7273 GB, free: 168 kB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.783e-05/0.1779, allocations: 8.031 kB / 0.7273 GB, free: 160 kB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/0.1779, allocations: 3.984 kB / 0.7273 GB, free: 156 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.715e-05/0.178, allocations: 4 kB / 0.7273 GB, free: 152 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-06/0.178, allocations: 0 / 0.7273 GB, free: 152 kB / 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.904e-05/0.1781, allocations: 125.7 kB / 0.7275 GB, free: 16 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.695e-05/0.1781, allocations: 7.938 kB / 0.7275 GB, free: 8 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002666/0.1784, allocations: 77.12 kB / 0.7275 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.424e-06/0.1784, allocations: 4 kB / 0.7275 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.1784, allocations: 0 / 0.7275 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.1784, allocations: 0 / 0.7275 GB, free: 15.92 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000179/0.1786, allocations: 169.6 kB / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.1786, allocations: 0 / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.088e-05/0.1786, allocations: 4 kB / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.891e-06/0.1786, allocations: 3.984 kB / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.1786, allocations: 0 / 0.7277 GB, free: 15.7 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.1786, allocations: 4 kB / 0.7277 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1786, allocations: 0 / 0.7277 GB, free: 15.69 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002556/0.1789, allocations: 167.5 kB / 0.7279 GB, free: 15.51 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.016e-05/0.1789, allocations: 81.11 kB / 0.728 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.179, allocations: 0 / 0.728 GB, free: 15.41 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.924e-05/0.179, allocations: 11.92 kB / 0.728 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.716e-05/0.1791, allocations: 3.938 kB / 0.728 GB, free: 15.4 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.1791, allocations: 4.031 kB / 0.728 GB, free: 15.39 MB / 0.545 GB Notification: Performance of sorting global known variables: time 5.134e-05/0.1791, allocations: 87.28 kB / 0.7281 GB, free: 15.31 MB / 0.545 GB Notification: Performance of sort global known variables: time 9e-08/0.1791, allocations: 0 / 0.7281 GB, free: 15.31 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002271/0.1794, allocations: 11.94 kB / 0.7281 GB, free: 15.3 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.0006436/0.18, allocations: 0.6968 MB / 0.7288 GB, free: 14.57 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002319/0.1802, allocations: 39.95 kB / 0.7288 GB, free: 14.54 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.1802, allocations: 3.938 kB / 0.7288 GB, free: 14.53 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.21e-05/0.1803, allocations: 19.98 kB / 0.7288 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002642/0.1806, allocations: 4 kB / 0.7288 GB, free: 14.51 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004417/0.181, allocations: 147.2 kB / 0.729 GB, free: 14.32 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003322/0.1814, allocations: 0.6807 MB / 0.7296 GB, free: 13.62 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 2.461e-05/0.1814, allocations: 4.188 kB / 0.7296 GB, free: 13.61 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.1814, allocations: 7.438 kB / 0.7296 GB, free: 13.61 MB / 0.545 GB Notification: Performance of SimCode: time 2.91e-07/0.1814, allocations: 0 / 0.7296 GB, free: 13.61 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01828/0.1997, allocations: 1.454 MB / 0.7311 GB, free: 12.27 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.486/8.686, allocations: 10.38 kB / 0.7311 GB, free: 12.26 MB / 0.545 GB " [Timeout remaining time 651] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial.fmu > IBPSA_latest_IBPSA.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.551269003015477] Failed to read output from testmodel.py, exit status != 0: 8.815323652990628 8.83988863 8.660656924 Calling exit ...