Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001783/0.001783, allocations: 113.5 kB / 19.73 MB, free: 2.242 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.002373/0.002373, allocations: 218.8 kB / 23.04 MB, free: 5.074 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.509/1.509, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003575/0.003575, allocations: 286.1 kB / 313.5 MB, free: 2.809 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.309/1.309, allocations: 180.6 MB / 0.5377 GB, free: 13.07 MB / 382.1 MB " [Timeout remaining time 178] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.Polynomial,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002826/0.002826, allocations: 96.67 kB / 0.7404 GB, free: 28.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2078/0.2106, allocations: 95.37 MB / 0.8335 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.Polynomial): time 0.002769/0.2134, allocations: 1.479 MB / 0.8349 GB, free: 7.129 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0003342/0.2137, allocations: 96.58 kB / 0.835 GB, free: 7.031 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.805e-05/0.2138, allocations: 4 kB / 0.835 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 5.977e-05/0.2138, allocations: 3.938 kB / 0.835 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.325e-05/0.2139, allocations: 0 / 0.835 GB, free: 7.023 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002612/0.2141, allocations: 27.91 kB / 0.8351 GB, free: 6.996 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.871e-05/0.2142, allocations: 19.94 kB / 0.8351 GB, free: 6.977 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.154e-05/0.2143, allocations: 11.98 kB / 0.8351 GB, free: 6.965 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 2.654e-05/0.2143, allocations: 7.938 kB / 0.8351 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.2143, allocations: 11.97 kB / 0.8351 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.287e-05/0.2144, allocations: 4 kB / 0.8351 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 9.03e-05/0.2144, allocations: 23.97 kB / 0.8351 GB, free: 6.918 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.2145, allocations: 7.938 kB / 0.8352 GB, free: 6.91 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.675e-05/0.2145, allocations: 7.938 kB / 0.8352 GB, free: 6.902 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/0.2146, allocations: 40.11 kB / 0.8352 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.2146, allocations: 0 / 0.8352 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.273e-06/0.2146, allocations: 4 kB / 0.8352 GB, free: 6.859 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.2147, allocations: 0 / 0.8352 GB, free: 6.859 MB / 0.5762 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.0004416/0.2151, allocations: 270.2 kB / 0.8355 GB, free: 6.562 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.374e-05/0.2151, allocations: 17.33 kB / 0.8355 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.547e-05/0.2152, allocations: 192 / 0.8355 GB, free: 6.547 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.098e-05/0.2152, allocations: 30.75 kB / 0.8355 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.476e-05/0.2152, allocations: 4.938 kB / 0.8355 GB, free: 6.504 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.2153, allocations: 114.5 kB / 0.8356 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.878e-06/0.2153, allocations: 4.375 kB / 0.8356 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-06/0.2153, allocations: 4.375 kB / 0.8356 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001777/0.2155, allocations: 53.98 kB / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.136e-06/0.2155, allocations: 0 / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.915e-06/0.2155, allocations: 0 / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.2155, allocations: 0 / 0.8357 GB, free: 6.301 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001745/0.2157, allocations: 39.89 kB / 0.8357 GB, free: 6.262 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003177/0.216, allocations: 228 kB / 0.8359 GB, free: 5.996 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.2162, allocations: 42.59 kB / 0.836 GB, free: 5.945 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.136e-05/0.2162, allocations: 20.91 kB / 0.836 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.077e-05/0.2163, allocations: 0 / 0.836 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.089e-05/0.2163, allocations: 46.55 kB / 0.836 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 7.52e-07/0.2163, allocations: 0 / 0.836 GB, free: 5.867 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003577/0.2167, allocations: 85.58 kB / 0.8361 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.529e-05/0.2167, allocations: 55.41 kB / 0.8362 GB, free: 5.711 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.483e-05/0.2168, allocations: 109.8 kB / 0.8363 GB, free: 5.594 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.64e-05/0.2168, allocations: 25.7 kB / 0.8363 GB, free: 5.562 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 5.608e-05/0.2169, allocations: 80.27 kB / 0.8364 GB, free: 5.48 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.986e-05/0.2169, allocations: 15.89 kB / 0.8364 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.227e-05/0.2169, allocations: 13.72 kB / 0.8364 GB, free: 5.445 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.2171, allocations: 310.8 kB / 0.8367 GB, free: 5.133 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.99e-05/0.2171, allocations: 23.97 kB / 0.8367 GB, free: 5.109 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.606e-05/0.2172, allocations: 16.23 kB / 0.8367 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.2174, allocations: 56.75 kB / 0.8368 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.537e-06/0.2174, allocations: 7.938 kB / 0.8368 GB, free: 5.027 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002033/0.2176, allocations: 69.62 kB / 0.8369 GB, free: 4.953 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.2176, allocations: 4 kB / 0.8369 GB, free: 4.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.962e-06/0.2176, allocations: 3.984 kB / 0.8369 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.2176, allocations: 0 / 0.8369 GB, free: 4.945 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.435e-05/0.2177, allocations: 8 kB / 0.8369 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.809e-06/0.2177, allocations: 4.031 kB / 0.8369 GB, free: 4.934 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.576e-05/0.2178, allocations: 7.984 kB / 0.8369 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.2178, allocations: 0 / 0.8369 GB, free: 4.926 MB / 0.5762 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.426e-05/0.2179, allocations: 118.4 kB / 0.837 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.217e-05/0.2179, allocations: 0 / 0.837 GB, free: 4.801 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002414/0.2181, allocations: 77.2 kB / 0.8371 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.2181, allocations: 4.031 kB / 0.8371 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2181, allocations: 0 / 0.8371 GB, free: 4.711 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2181, allocations: 4 kB / 0.8371 GB, free: 4.707 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001629/0.2183, allocations: 132.7 kB / 0.8372 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2183, allocations: 0 / 0.8372 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.517e-05/0.2183, allocations: 11.98 kB / 0.8372 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.2183, allocations: 0 / 0.8372 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2184, allocations: 0 / 0.8372 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.2184, allocations: 0 / 0.8372 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.2184, allocations: 0 / 0.8372 GB, free: 4.523 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002554/0.2186, allocations: 179.3 kB / 0.8374 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 9.908e-06/0.2186, allocations: 7.984 kB / 0.8374 GB, free: 4.324 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.958e-05/0.2186, allocations: 3.984 kB / 0.8374 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.224e-05/0.2187, allocations: 4 kB / 0.8374 GB, free: 4.316 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.436e-05/0.2188, allocations: 3.984 kB / 0.8374 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.976e-06/0.2188, allocations: 0 / 0.8374 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.166e-05/0.2188, allocations: 91.31 kB / 0.8375 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of sort global known variables: time 9.1e-08/0.2188, allocations: 0 / 0.8375 GB, free: 4.223 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002134/0.219, allocations: 4 kB / 0.8375 GB, free: 4.219 MB / 0.5762 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.0005956/0.2196, allocations: 0.7046 MB / 0.8382 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002098/0.2198, allocations: 39.91 kB / 0.8382 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.2198, allocations: 0 / 0.8382 GB, free: 3.449 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.207e-05/0.2199, allocations: 31.91 kB / 0.8383 GB, free: 3.418 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003189/0.2202, allocations: 3.938 kB / 0.8383 GB, free: 3.414 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000464/0.2207, allocations: 161 kB / 0.8384 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.221, allocations: 0.6807 MB / 0.8391 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.122e-05/0.221, allocations: 0 / 0.8391 GB, free: 2.512 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.12e-05/0.2211, allocations: 7.438 kB / 0.8391 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of SimCode: time 3.01e-07/0.2211, allocations: 0 / 0.8391 GB, free: 2.504 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02926/0.2503, allocations: 1.576 MB / 0.8406 GB, free: 1.074 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.66/10.91, allocations: 11.44 kB / 0.8406 GB, free: 1.066 MB / 0.5762 GB " [Timeout remaining time 649] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_Polynomial.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.416597181989346] Failed to read output from testmodel.py, exit status != 0: 11.06832103402121 11.085882703 10.868058644 Calling exit ...