Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.001211/0.001211, allocations: 109.9 kB / 18.93 MB, free: 1.266 MB / 13.93 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.0008887/0.0008887, allocations: 218.3 kB / 22.26 MB, free: 3.695 MB / 13.93 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.024/1.024, allocations: 230.6 MB / 256 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.7732/0.7732, allocations: 203.8 MB / 0.5042 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",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.0009461/0.0009461, allocations: 70.73 kB / 0.7183 GB, free: 4.285 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5146/0.5156, allocations: 102 MB / 0.8179 GB, free: 1.234 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001248/0.5168, allocations: 0.5879 MB / 0.8185 GB, free: 0.8711 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000192/0.517, allocations: 27.67 kB / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.217e-05/0.517, allocations: 0 / 0.8185 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.161e-05/0.517, allocations: 4 kB / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-06/0.517, allocations: 0 / 0.8185 GB, free: 0.8516 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002683/0.5173, allocations: 10.22 kB / 0.8185 GB, free: 0.8477 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.592e-05/0.5174, allocations: 8.656 kB / 0.8185 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.754e-05/0.5174, allocations: 0.8438 kB / 0.8185 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.502e-05/0.5174, allocations: 0 / 0.8185 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.179e-05/0.5174, allocations: 3.594 kB / 0.8185 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.5174, allocations: 3.938 kB / 0.8185 GB, free: 0.8398 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.852e-05/0.5175, allocations: 19.61 kB / 0.8186 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 7.294e-06/0.5175, allocations: 0 / 0.8186 GB, free: 0.832 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.687e-05/0.5175, allocations: 3.938 kB / 0.8186 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.146e-05/0.5176, allocations: 15.56 kB / 0.8186 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.218e-06/0.5176, allocations: 0 / 0.8186 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.5176, allocations: 3.688 kB / 0.8186 GB, free: 0.8242 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.5176, allocations: 0 / 0.8186 GB, free: 0.8242 MB / 0.6042 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.0001859/0.5178, allocations: 235.6 kB / 0.8188 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.5179, allocations: 8.031 kB / 0.8188 GB, free: 0.5664 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.965e-05/0.5179, allocations: 36.3 kB / 0.8188 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.5179, allocations: 0.9375 kB / 0.8188 GB, free: 0.5234 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.307e-05/0.5179, allocations: 105.1 kB / 0.8189 GB, free: 408 kB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.979e-06/0.5179, allocations: 4.375 kB / 0.8189 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.518, allocations: 1.812 kB / 0.819 GB, free: 404 kB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.536e-05/0.518, allocations: 29.67 kB / 0.819 GB, free: 372 kB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.692e-06/0.518, allocations: 5.375 kB / 0.819 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/0.518, allocations: 0 / 0.819 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.518, allocations: 0 / 0.819 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.75e-05/0.5181, allocations: 2.562 kB / 0.819 GB, free: 368 kB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.562e-05/0.5181, allocations: 119.3 kB / 0.8191 GB, free: 208 kB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.49e-05/0.5182, allocations: 25.39 kB / 0.8191 GB, free: 176 kB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.586e-05/0.5182, allocations: 6.766 kB / 0.8191 GB, free: 168 kB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 3.831e-05/0.5182, allocations: 4.984 kB / 0.8191 GB, free: 164 kB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.533e-05/0.5182, allocations: 38.23 kB / 0.8192 GB, free: 120 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 7.91e-07/0.5182, allocations: 0 / 0.8192 GB, free: 120 kB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001051/0.5184, allocations: 47.33 kB / 0.8192 GB, free: 72 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.698e-05/0.5184, allocations: 51.41 kB / 0.8193 GB, free: 8 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.905e-05/0.5184, allocations: 97.31 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.598e-06/0.5184, allocations: 25.7 kB / 0.8194 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.734e-05/0.5184, allocations: 80.14 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.386e-05/0.5185, allocations: 0.6094 kB / 0.8195 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.5185, allocations: 13.81 kB / 0.8195 GB, free: 15.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.532e-05/0.5186, allocations: 310.8 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.925e-06/0.5186, allocations: 3.938 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.26e-06/0.5186, allocations: 2.594 kB / 0.8198 GB, free: 15.46 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.47e-05/0.5186, allocations: 15.8 kB / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.5186, allocations: 0 / 0.8198 GB, free: 15.45 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.722e-05/0.5186, allocations: 37.91 kB / 0.8198 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.103e-05/0.5186, allocations: 6.719 kB / 0.8198 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.781e-06/0.5186, allocations: 3.938 kB / 0.8198 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.5187, allocations: 0 / 0.8198 GB, free: 15.41 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.896e-05/0.5187, allocations: 6.172 kB / 0.8198 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.5187, allocations: 0 / 0.8198 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.716e-06/0.5187, allocations: 2.594 kB / 0.8198 GB, free: 15.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.016e-05/0.5187, allocations: 4.031 kB / 0.8199 GB, free: 15.4 MB / 0.6198 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 5.524e-05/0.5188, allocations: 113.9 kB / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.186e-06/0.5188, allocations: 0 / 0.82 GB, free: 15.28 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.697e-05/0.5189, allocations: 49.61 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.183e-06/0.5189, allocations: 0 / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.5189, allocations: 0 / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.374e-06/0.5189, allocations: 4.781 kB / 0.82 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.45e-05/0.5189, allocations: 121.1 kB / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.5189, allocations: 0 / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.208e-05/0.5189, allocations: 5.562 kB / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.5189, allocations: 0.7969 kB / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.519, allocations: 5.875 kB / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.71e-07/0.519, allocations: 0 / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.472e-06/0.519, allocations: 0.8438 kB / 0.8201 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.363e-05/0.519, allocations: 61.98 kB / 0.8202 GB, free: 15 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-06/0.519, allocations: 5.656 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.556e-06/0.519, allocations: 4.781 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.739e-06/0.519, allocations: 3.688 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.519, allocations: 0.9844 kB / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-06/0.519, allocations: 0 / 0.8202 GB, free: 14.99 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.826e-05/0.519, allocations: 75.28 kB / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.519, allocations: 0 / 0.8203 GB, free: 14.91 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001279/0.5192, allocations: 3.938 kB / 0.8203 GB, free: 14.91 MB / 0.6198 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.0002795/0.5195, allocations: 0.6012 MB / 0.8209 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.146e-05/0.5195, allocations: 11.88 kB / 0.8209 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.5195, allocations: 0 / 0.8209 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.949e-06/0.5195, allocations: 2.156 kB / 0.8209 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.86e-05/0.5196, allocations: 6.156 kB / 0.8209 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002438/0.5199, allocations: 107.1 kB / 0.821 GB, free: 14.16 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/0.52, allocations: 0.6729 MB / 0.8217 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.959e-05/0.52, allocations: 0 / 0.8217 GB, free: 13.46 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.152e-05/0.5201, allocations: 13.8 kB / 0.8217 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of SimCode: time 6.21e-07/0.5201, allocations: 4 kB / 0.8217 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01268/0.5327, allocations: 1.107 MB / 0.8228 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.611/7.144, allocations: 2 kB / 0.8228 GB, free: 13.05 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --stepSize=0.0016 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.112341981148347] Failed to read output from testmodel.py, exit status != 0: 7.223464759066701 7.239271276 6.718296919 Calling exit ...