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.001419/0.001419, allocations: 118.8 kB / 19.7 MB, free: 2.203 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.001429/0.001429, allocations: 220.1 kB / 23.01 MB, free: 5.066 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.517/1.517, allocations: 230.6 MB / 256.8 MB, free: 8.051 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.9942/0.9942, allocations: 150 MB / 463.2 MB, free: 10.56 MB / 366.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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Examples.Polynomial,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Examples_Polynomial",fmuType="me",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.001959/0.001959, allocations: 67.48 kB / 0.6413 GB, free: 10.52 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2189/0.2208, allocations: 89.18 MB / 0.7284 GB, free: 1.406 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.004771/0.2256, allocations: 1.459 MB / 0.7298 GB, free: 15.93 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0004709/0.2261, allocations: 79.77 kB / 0.7299 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.027e-05/0.2261, allocations: 0 / 0.7299 GB, free: 15.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 9.66e-05/0.2262, allocations: 3.984 kB / 0.7299 GB, free: 15.85 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.242e-05/0.2263, allocations: 7.922 kB / 0.7299 GB, free: 15.84 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004085/0.2267, allocations: 15.98 kB / 0.7299 GB, free: 15.83 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.2268, allocations: 23.92 kB / 0.7299 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001301/0.2269, allocations: 8 kB / 0.7299 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 4.057e-05/0.227, allocations: 7.938 kB / 0.7299 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 5.219e-05/0.227, allocations: 11.98 kB / 0.7299 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.06e-05/0.227, allocations: 8 kB / 0.7299 GB, free: 15.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001204/0.2272, allocations: 19.97 kB / 0.73 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 5.402e-05/0.2272, allocations: 7.938 kB / 0.73 GB, free: 15.74 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 3.439e-05/0.2273, allocations: 15.92 kB / 0.73 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001628/0.2274, allocations: 32.11 kB / 0.73 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.2274, allocations: 0 / 0.73 GB, free: 15.7 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.423e-06/0.2274, allocations: 4 kB / 0.73 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.869e-06/0.2274, allocations: 0 / 0.73 GB, free: 15.69 MB / 0.5606 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.0005006/0.2279, allocations: 266.2 kB / 0.7303 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.228, allocations: 16.03 kB / 0.7303 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.976e-05/0.228, allocations: 30.75 kB / 0.7303 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.572e-05/0.2281, allocations: 4.891 kB / 0.7303 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.2282, allocations: 114.5 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.356e-06/0.2282, allocations: 384 / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.416e-05/0.2282, allocations: 4.375 kB / 0.7304 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002003/0.2284, allocations: 54.22 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.2284, allocations: 3.938 kB / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.155e-06/0.2284, allocations: 0 / 0.7305 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.9e-06/0.2284, allocations: 4 kB / 0.7305 GB, free: 15.13 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001663/0.2286, allocations: 31.97 kB / 0.7305 GB, free: 15.1 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003668/0.229, allocations: 236 kB / 0.7307 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001516/0.2291, allocations: 42.48 kB / 0.7308 GB, free: 14.78 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000103/0.2292, allocations: 24.91 kB / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.407e-05/0.2293, allocations: 0 / 0.7308 GB, free: 14.75 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.2293, allocations: 38.56 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.2293, allocations: 3.938 kB / 0.7308 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0004007/0.2297, allocations: 89.53 kB / 0.7309 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.385e-05/0.2298, allocations: 59.53 kB / 0.731 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.2299, allocations: 105.8 kB / 0.7311 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.282e-05/0.2299, allocations: 25.7 kB / 0.7311 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 6.105e-05/0.2299, allocations: 80.14 kB / 0.7312 GB, free: 14.31 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.201e-05/0.23, allocations: 11.94 kB / 0.7312 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.939e-05/0.23, allocations: 21.66 kB / 0.7312 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.2302, allocations: 310.8 kB / 0.7315 GB, free: 13.96 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.573e-05/0.2303, allocations: 23.98 kB / 0.7315 GB, free: 13.93 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.298e-05/0.2303, allocations: 19.97 kB / 0.7316 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000154/0.2305, allocations: 40.83 kB / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.2305, allocations: 3.938 kB / 0.7316 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002233/0.2307, allocations: 73.66 kB / 0.7317 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.659e-05/0.2307, allocations: 8.031 kB / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.2308, allocations: 0 / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.2308, allocations: 0 / 0.7317 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.958e-05/0.2309, allocations: 11.98 kB / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.392e-06/0.2309, allocations: 0 / 0.7317 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.03e-05/0.2309, allocations: 7.984 kB / 0.7317 GB, free: 13.76 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.282e-06/0.2309, allocations: 0 / 0.7317 GB, free: 13.76 MB / 0.5606 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 0.0001037/0.231, allocations: 119.8 kB / 0.7318 GB, free: 13.64 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.5e-05/0.2311, allocations: 7.953 kB / 0.7318 GB, free: 13.63 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.2313, allocations: 73.22 kB / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.2313, allocations: 0 / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.477e-06/0.2313, allocations: 0 / 0.7319 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.2313, allocations: 4 kB / 0.7319 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001688/0.2315, allocations: 140.6 kB / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.2315, allocations: 0 / 0.732 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.11e-05/0.2316, allocations: 11.98 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2316, allocations: 4.031 kB / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.101e-06/0.2316, allocations: 0 / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.2316, allocations: 256 / 0.732 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.2316, allocations: 4 kB / 0.7321 GB, free: 13.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.2318, allocations: 167.5 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.367e-06/0.2318, allocations: 4 kB / 0.7322 GB, free: 13.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.172e-05/0.2319, allocations: 7.969 kB / 0.7322 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.632e-05/0.2319, allocations: 7.984 kB / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.232, allocations: 0 / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.232, allocations: 0 / 0.7322 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.702e-05/0.232, allocations: 91.27 kB / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.232, allocations: 0 / 0.7323 GB, free: 13.05 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002234/0.2322, allocations: 7.938 kB / 0.7323 GB, free: 13.05 MB / 0.5606 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.0006019/0.2328, allocations: 0.7045 MB / 0.733 GB, free: 12.32 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.2331, allocations: 43.89 kB / 0.7331 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2331, allocations: 0 / 0.7331 GB, free: 12.27 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 9.403e-05/0.2332, allocations: 28.08 kB / 0.7331 GB, free: 12.25 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002959/0.2335, allocations: 3.984 kB / 0.7331 GB, free: 12.24 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004958/0.234, allocations: 147.1 kB / 0.7332 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003195/0.2343, allocations: 0.6768 MB / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 2.207e-05/0.2343, allocations: 0 / 0.7339 GB, free: 11.36 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.917e-05/0.2343, allocations: 11.44 kB / 0.7339 GB, free: 11.35 MB / 0.5606 GB Notification: Performance of SimCode: time 2.91e-07/0.2343, allocations: 4.062 kB / 0.7339 GB, free: 11.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02898/0.2633, allocations: 1.522 MB / 0.7354 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.08/11.34, allocations: 4.891 kB / 0.7354 GB, free: 9.961 MB / 0.5606 GB " [Timeout remaining time 649] (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: 15.132997683016583] Failed to read output from testmodel.py, exit status != 0: 11.443770331097767 11.469215583 11.236846321 Calling exit ...