Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001372/0.001372, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.001457/0.001457, allocations: 217.5 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.45/1.45, allocations: 230.6 MB / 256.8 MB, free: 7.988 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8699/0.8699, allocations: 134 MB / 447.2 MB, free: 10.22 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001924/0.001924, allocations: 62.66 kB / 0.6194 GB, free: 7.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1658/0.1677, allocations: 85.91 MB / 0.7032 GB, free: 1.332 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.002173/0.1699, allocations: 0.5721 MB / 0.7038 GB, free: 0.7617 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.0002909/0.1702, allocations: 39.81 kB / 0.7038 GB, free: 0.7227 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.037e-05/0.1702, allocations: 4 kB / 0.7038 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 1.61e-05/0.1702, allocations: 0 / 0.7038 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 7.173e-06/0.1702, allocations: 0 / 0.7038 GB, free: 0.7188 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004125/0.1707, allocations: 15.92 kB / 0.7039 GB, free: 0.7031 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 6.033e-05/0.1707, allocations: 7.984 kB / 0.7039 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 5.364e-05/0.1708, allocations: 416 / 0.7039 GB, free: 0.6953 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 2.168e-05/0.1708, allocations: 4 kB / 0.7039 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.1708, allocations: 0 / 0.7039 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.1708, allocations: 0 / 0.7039 GB, free: 0.6914 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001407/0.171, allocations: 19.97 kB / 0.7039 GB, free: 0.6719 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 1.217e-05/0.171, allocations: 7.938 kB / 0.7039 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 2.411e-05/0.171, allocations: 0 / 0.7039 GB, free: 0.6641 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.0001375/0.1712, allocations: 20.25 kB / 0.7039 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.072e-06/0.1712, allocations: 0 / 0.7039 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.683e-06/0.1712, allocations: 0 / 0.7039 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.1712, allocations: 3.938 kB / 0.7039 GB, free: 0.6406 MB / 0.5137 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.0003786/0.1715, allocations: 242.4 kB / 0.7042 GB, free: 380 kB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.58e-05/0.1716, allocations: 12.03 kB / 0.7042 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.824e-05/0.1716, allocations: 192 / 0.7042 GB, free: 368 kB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.1716, allocations: 34.75 kB / 0.7042 GB, free: 324 kB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.057e-05/0.1717, allocations: 4.938 kB / 0.7042 GB, free: 320 kB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.772e-05/0.1718, allocations: 110.5 kB / 0.7043 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.103e-05/0.1718, allocations: 384 / 0.7043 GB, free: 184 kB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1718, allocations: 4.375 kB / 0.7043 GB, free: 180 kB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001154/0.1719, allocations: 30.02 kB / 0.7043 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.316e-06/0.1719, allocations: 0 / 0.7043 GB, free: 144 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.758e-06/0.1719, allocations: 3.984 kB / 0.7043 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.1719, allocations: 0 / 0.7043 GB, free: 140 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.846e-05/0.172, allocations: 7.938 kB / 0.7044 GB, free: 132 kB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001878/0.1722, allocations: 128.7 kB / 0.7045 GB, free: 15.96 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 5.057e-05/0.1722, allocations: 18.61 kB / 0.7045 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.1722, allocations: 4.859 kB / 0.7045 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 3.825e-05/0.1723, allocations: 0 / 0.7045 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.675e-05/0.1723, allocations: 38.56 kB / 0.7045 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=1): time 7.51e-07/0.1723, allocations: 0 / 0.7045 GB, free: 15.88 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.1725, allocations: 45.59 kB / 0.7046 GB, free: 15.83 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.33e-05/0.1725, allocations: 51.41 kB / 0.7046 GB, free: 15.77 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.742e-05/0.1725, allocations: 93.84 kB / 0.7047 GB, free: 15.66 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.558e-05/0.1726, allocations: 25.7 kB / 0.7047 GB, free: 15.63 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 3.793e-05/0.1726, allocations: 80.14 kB / 0.7048 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.677e-05/0.1726, allocations: 4 kB / 0.7048 GB, free: 15.55 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.1727, allocations: 9.719 kB / 0.7048 GB, free: 15.53 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001284/0.1728, allocations: 310.8 kB / 0.7051 GB, free: 15.22 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.277e-05/0.1728, allocations: 8.125 kB / 0.7051 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.025e-06/0.1728, allocations: 4 kB / 0.7051 GB, free: 15.21 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.824e-05/0.1728, allocations: 8.859 kB / 0.7052 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1728, allocations: 0 / 0.7052 GB, free: 15.2 MB / 0.5294 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.038e-05/0.1729, allocations: 37.62 kB / 0.7052 GB, free: 15.15 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1729, allocations: 11.94 kB / 0.7052 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.138e-06/0.1729, allocations: 0 / 0.7052 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1729, allocations: 0 / 0.7052 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.251e-05/0.173, allocations: 4.031 kB / 0.7052 GB, free: 15.14 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.173, allocations: 7.938 kB / 0.7052 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.353e-05/0.173, allocations: 0 / 0.7052 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.172e-05/0.173, allocations: 4 kB / 0.7052 GB, free: 15.12 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 8.06e-05/0.1731, allocations: 105.8 kB / 0.7053 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.133e-05/0.1731, allocations: 3.938 kB / 0.7053 GB, free: 15.01 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.1732, allocations: 48.69 kB / 0.7054 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.1732, allocations: 3.938 kB / 0.7054 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1732, allocations: 0 / 0.7054 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.1732, allocations: 0 / 0.7054 GB, free: 14.95 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001042/0.1734, allocations: 120.8 kB / 0.7055 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.1734, allocations: 0 / 0.7055 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.865e-05/0.1734, allocations: 0 / 0.7055 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.089e-06/0.1734, allocations: 3.938 kB / 0.7055 GB, free: 14.79 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.1734, allocations: 4 kB / 0.7055 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.287e-06/0.1734, allocations: 4 kB / 0.7055 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1734, allocations: 0 / 0.7055 GB, free: 14.78 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.371e-05/0.1735, allocations: 61.16 kB / 0.7056 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 5.05e-06/0.1735, allocations: 0 / 0.7056 GB, free: 14.7 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.319e-05/0.1735, allocations: 7.938 kB / 0.7056 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.074e-05/0.1735, allocations: 0 / 0.7056 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.7e-05/0.1735, allocations: 0 / 0.7056 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.1735, allocations: 0 / 0.7056 GB, free: 14.69 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 3.954e-05/0.1736, allocations: 75.28 kB / 0.7056 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.1736, allocations: 4.031 kB / 0.7056 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.000221/0.1738, allocations: 19.88 kB / 0.7057 GB, free: 14.59 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.0004469/0.1742, allocations: 0.589 MB / 0.7062 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 7.534e-05/0.1743, allocations: 7.984 kB / 0.7062 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.1743, allocations: 4.094 kB / 0.7062 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 1.279e-05/0.1743, allocations: 7.938 kB / 0.7062 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001324/0.1745, allocations: 0 / 0.7062 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003472/0.1748, allocations: 106.7 kB / 0.7064 GB, free: 13.81 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003194/0.1751, allocations: 0.6766 MB / 0.707 GB, free: 13.11 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.588e-05/0.1751, allocations: 4.062 kB / 0.707 GB, free: 13.1 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.61e-05/0.1752, allocations: 15.38 kB / 0.707 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of SimCode: time 4.01e-07/0.1752, allocations: 0 / 0.707 GB, free: 13.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02103/0.1962, allocations: 1.149 MB / 0.7082 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.95/11.15, allocations: 9.766 kB / 0.7082 GB, free: 12.09 MB / 0.5294 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 14.823728700983338] Failed to read output from testmodel.py, exit status != 0: 11.336247159051709 11.365138017 11.188822769 Calling exit ...