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.001354/0.001354, allocations: 108.3 kB / 19.7 MB, free: 1.918 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.001519/0.001519, allocations: 215.4 kB / 22.99 MB, free: 4.977 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.494/1.494, allocations: 230.6 MB / 256.8 MB, free: 7.797 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.005/1.005, allocations: 149.9 MB / 463 MB, free: 10.32 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.002179/0.002179, allocations: 70.36 kB / 0.6411 GB, free: 10.09 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1959/0.198, allocations: 89.18 MB / 0.7282 GB, free: 0.9922 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Examples.Polynomial): time 0.002792/0.2008, allocations: 1.444 MB / 0.7296 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0003622/0.2012, allocations: 79.77 kB / 0.7296 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.742e-05/0.2012, allocations: 0 / 0.7296 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 5.879e-05/0.2013, allocations: 7.938 kB / 0.7297 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 4.495e-05/0.2013, allocations: 7.922 kB / 0.7297 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002627/0.2016, allocations: 19.97 kB / 0.7297 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 7.317e-05/0.2017, allocations: 23.94 kB / 0.7297 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 9.166e-05/0.2018, allocations: 11.98 kB / 0.7297 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.794e-05/0.2018, allocations: 4 kB / 0.7297 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.171e-05/0.2018, allocations: 15.92 kB / 0.7297 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.2018, allocations: 3.938 kB / 0.7297 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.2019, allocations: 23.97 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 4.266e-05/0.202, allocations: 3.938 kB / 0.7298 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.202, allocations: 11.98 kB / 0.7298 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0001182/0.2021, allocations: 28.12 kB / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.2021, allocations: 0 / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.432e-06/0.2021, allocations: 0 / 0.7298 GB, free: 15.3 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 9.838e-06/0.2021, allocations: 4 kB / 0.7298 GB, free: 15.29 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.0005441/0.2027, allocations: 266.3 kB / 0.7301 GB, free: 15 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.943e-05/0.2027, allocations: 12.03 kB / 0.7301 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.541e-05/0.2028, allocations: 34.75 kB / 0.7301 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.441e-05/0.2028, allocations: 4.891 kB / 0.7301 GB, free: 14.94 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001444/0.203, allocations: 114.5 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.576e-06/0.203, allocations: 384 / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.027e-05/0.203, allocations: 8.359 kB / 0.7302 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002293/0.2032, allocations: 50.19 kB / 0.7303 GB, free: 14.74 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.2032, allocations: 15.91 kB / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.098e-06/0.2033, allocations: 0 / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.539e-06/0.2033, allocations: 0 / 0.7303 GB, free: 14.73 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000245/0.2035, allocations: 31.97 kB / 0.7303 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004279/0.2039, allocations: 224.1 kB / 0.7305 GB, free: 14.43 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001964/0.2041, allocations: 46.42 kB / 0.7306 GB, free: 14.38 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001354/0.2043, allocations: 24.91 kB / 0.7306 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 4.006e-05/0.2043, allocations: 4 kB / 0.7306 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.2043, allocations: 34.56 kB / 0.7306 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.462e-06/0.2043, allocations: 0 / 0.7306 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0005055/0.2048, allocations: 93.53 kB / 0.7307 GB, free: 14.21 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.415e-05/0.2049, allocations: 51.41 kB / 0.7308 GB, free: 14.14 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001246/0.205, allocations: 109.8 kB / 0.7309 GB, free: 14.03 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.197e-05/0.205, allocations: 25.83 kB / 0.7309 GB, free: 14 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 7.469e-05/0.2051, allocations: 88.14 kB / 0.731 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.2051, allocations: 11.94 kB / 0.731 GB, free: 13.89 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.481e-05/0.2052, allocations: 17.72 kB / 0.731 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001855/0.2054, allocations: 310.8 kB / 0.7313 GB, free: 13.56 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001201/0.2055, allocations: 19.98 kB / 0.7313 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.2056, allocations: 15.97 kB / 0.7314 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002406/0.2059, allocations: 48.89 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.979e-06/0.2059, allocations: 3.938 kB / 0.7314 GB, free: 13.47 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003128/0.2062, allocations: 69.59 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/0.2062, allocations: 8 kB / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.2062, allocations: 0 / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.482e-05/0.2062, allocations: 0 / 0.7315 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001277/0.2063, allocations: 11.92 kB / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.2064, allocations: 0 / 0.7315 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.686e-05/0.2064, allocations: 12.02 kB / 0.7315 GB, free: 13.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.837e-06/0.2064, allocations: 4 kB / 0.7315 GB, free: 13.36 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.0001082/0.2065, allocations: 113.8 kB / 0.7316 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.514e-05/0.2066, allocations: 7.953 kB / 0.7316 GB, free: 13.23 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003351/0.2069, allocations: 69.28 kB / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.2069, allocations: 0 / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.2069, allocations: 0 / 0.7317 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.541e-06/0.2069, allocations: 7.922 kB / 0.7317 GB, free: 13.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002561/0.2072, allocations: 148.6 kB / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.332e-06/0.2072, allocations: 0 / 0.7318 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.313e-05/0.2073, allocations: 8 kB / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.2073, allocations: 0 / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.736e-06/0.2073, allocations: 0 / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.2073, allocations: 0 / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2073, allocations: 0 / 0.7318 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003636/0.2076, allocations: 171.4 kB / 0.732 GB, free: 12.77 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.114e-05/0.2077, allocations: 8.031 kB / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.2077, allocations: 256 / 0.732 GB, free: 12.76 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001266/0.2078, allocations: 8 kB / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.757e-05/0.2078, allocations: 3.984 kB / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.2078, allocations: 0 / 0.732 GB, free: 12.75 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.627e-05/0.2079, allocations: 87.28 kB / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1e-07/0.2079, allocations: 0 / 0.7321 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003845/0.2083, allocations: 4 kB / 0.7321 GB, free: 12.66 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.0009139/0.2092, allocations: 0.7084 MB / 0.7328 GB, free: 11.92 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0003074/0.2095, allocations: 39.95 kB / 0.7328 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.295e-06/0.2095, allocations: 0 / 0.7328 GB, free: 11.88 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0001334/0.2097, allocations: 23.92 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000472/0.2101, allocations: 5.875 kB / 0.7329 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006479/0.2108, allocations: 147.3 kB / 0.733 GB, free: 11.67 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.875e-05/0.2109, allocations: 67.34 kB / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.136e-05/0.2109, allocations: 0 / 0.7331 GB, free: 11.59 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.211, allocations: 11.44 kB / 0.7331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of SimCode: time 3.31e-07/0.211, allocations: 0 / 0.7331 GB, free: 11.58 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03185/0.2428, allocations: 1.941 MB / 0.735 GB, free: 9.773 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.2/11.45, allocations: 6.828 kB / 0.735 GB, free: 9.77 MB / 0.5606 GB " [Timeout remaining time 648] (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.314369971398264] Failed to read output from testmodel.py, exit status != 0: 11.555390314664692 11.573456518 11.368024224000001 Calling exit ...