Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001213/0.001213, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001043/0.001043, allocations: 209.2 kB / 22.24 MB, free: 3.57 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 0.9743/0.9743, allocations: 230.6 MB / 256 MB, free: 9.594 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.7697/0.7697, allocations: 203.8 MB / 0.5042 GB, free: 10.39 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.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_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.001612/0.001612, allocations: 67.75 kB / 0.7182 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4771/0.4787, allocations: 102 MB / 0.8178 GB, free: 1.02 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001945/0.4807, allocations: 1.457 MB / 0.8192 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002959/0.481, allocations: 89.83 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.743e-05/0.481, allocations: 0 / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 5.574e-05/0.4811, allocations: 4.547 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 3.512e-05/0.4811, allocations: 2.047 kB / 0.8193 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.4813, allocations: 28.97 kB / 0.8193 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.153e-05/0.4814, allocations: 16.42 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.768e-05/0.4815, allocations: 7.891 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 2.841e-05/0.4815, allocations: 5.812 kB / 0.8194 GB, free: 15.92 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.495e-05/0.4816, allocations: 13.58 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.4816, allocations: 6.781 kB / 0.8194 GB, free: 15.91 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 7.732e-05/0.4817, allocations: 24.75 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 4.233e-05/0.4817, allocations: 3.188 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.308e-05/0.4817, allocations: 11.73 kB / 0.8194 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001203/0.4818, allocations: 32.92 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.4819, allocations: 1.688 kB / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.784e-06/0.4819, allocations: 0 / 0.8195 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.4819, allocations: 0 / 0.8195 GB, free: 15.88 MB / 0.6198 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.0003355/0.4822, allocations: 268.7 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4822, allocations: 9.781 kB / 0.8197 GB, free: 15.61 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.803e-05/0.4823, allocations: 42.12 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.4823, allocations: 0.9375 kB / 0.8198 GB, free: 15.56 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.449e-05/0.4824, allocations: 110 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.067e-05/0.4824, allocations: 2.469 kB / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.214e-06/0.4824, allocations: 384 / 0.8199 GB, free: 15.43 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001313/0.4825, allocations: 54.58 kB / 0.8199 GB, free: 15.39 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.065e-06/0.4825, allocations: 9.578 kB / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-06/0.4825, allocations: 0 / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4825, allocations: 0 / 0.8199 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.791e-05/0.4826, allocations: 41.23 kB / 0.82 GB, free: 15.38 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002802/0.4829, allocations: 224.2 kB / 0.8202 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.278e-05/0.483, allocations: 42.75 kB / 0.8202 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.816e-05/0.483, allocations: 21.64 kB / 0.8202 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 3.239e-05/0.4831, allocations: 9.609 kB / 0.8203 GB, free: 15.09 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.861e-05/0.4831, allocations: 34.56 kB / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.002e-06/0.4831, allocations: 0 / 0.8203 GB, free: 15.05 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0002187/0.4833, allocations: 89.36 kB / 0.8204 GB, free: 15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.656e-05/0.4833, allocations: 51.41 kB / 0.8204 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.362e-05/0.4834, allocations: 105.8 kB / 0.8205 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 9.448e-06/0.4834, allocations: 25.7 kB / 0.8206 GB, free: 14.81 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.499e-05/0.4835, allocations: 84.41 kB / 0.8206 GB, free: 14.73 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.635e-05/0.4835, allocations: 11.3 kB / 0.8206 GB, free: 14.72 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-05/0.4835, allocations: 12.44 kB / 0.8207 GB, free: 14.7 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.385e-05/0.4836, allocations: 315.3 kB / 0.821 GB, free: 14.39 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.735e-05/0.4836, allocations: 21.97 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.399e-05/0.4837, allocations: 21.73 kB / 0.821 GB, free: 14.38 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.171e-05/0.4837, allocations: 43.75 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.4837, allocations: 7.875 kB / 0.821 GB, free: 14.36 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001064/0.4838, allocations: 71.06 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.312e-05/0.4839, allocations: 7.656 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.428e-06/0.4839, allocations: 0 / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4839, allocations: 2.547 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.941e-05/0.4839, allocations: 7.969 kB / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4839, allocations: 0 / 0.8211 GB, free: 14.32 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.598e-05/0.484, allocations: 10.7 kB / 0.8211 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.508e-06/0.484, allocations: 0 / 0.8211 GB, free: 14.31 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 (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 5.445e-05/0.484, allocations: 122 kB / 0.8213 GB, free: 14.19 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.056e-05/0.484, allocations: 5.125 kB / 0.8213 GB, free: 14.18 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001441/0.4842, allocations: 76.89 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.845e-06/0.4842, allocations: 1.656 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.4842, allocations: 4 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4842, allocations: 0.5156 kB / 0.8213 GB, free: 14.14 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001029/0.4843, allocations: 138.7 kB / 0.8215 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.4843, allocations: 2.547 kB / 0.8215 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.74e-05/0.4843, allocations: 7.984 kB / 0.8215 GB, free: 13.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.4843, allocations: 4.641 kB / 0.8215 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.63e-06/0.4843, allocations: 0 / 0.8215 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.4843, allocations: 1.625 kB / 0.8215 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.4843, allocations: 0.5625 kB / 0.8215 GB, free: 13.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.4845, allocations: 166.7 kB / 0.8216 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 8.155e-06/0.4845, allocations: 14.2 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.708e-06/0.4845, allocations: 2.172 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.608e-05/0.4845, allocations: 6.781 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.957e-05/0.4846, allocations: 5.344 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.136e-06/0.4846, allocations: 1.406 kB / 0.8217 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 3.971e-05/0.4846, allocations: 86.72 kB / 0.8218 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5.1e-08/0.4846, allocations: 0 / 0.8218 GB, free: 13.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000147/0.4847, allocations: 6.906 kB / 0.8218 GB, free: 13.73 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 (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.0003435/0.4851, allocations: 0.7032 MB / 0.8225 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.00013/0.4852, allocations: 41.5 kB / 0.8225 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.734e-06/0.4852, allocations: 0 / 0.8225 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.428e-05/0.4853, allocations: 23.48 kB / 0.8225 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.4855, allocations: 3.141 kB / 0.8225 GB, free: 13.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000343/0.4858, allocations: 150 kB / 0.8227 GB, free: 12.89 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.982e-05/0.4859, allocations: 68 kB / 0.8227 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.268e-05/0.4859, allocations: 8.797 kB / 0.8227 GB, free: 12.81 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.811e-05/0.4859, allocations: 8.141 kB / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of SimCode: time 5.01e-07/0.4859, allocations: 0 / 0.8227 GB, free: 12.8 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01583/0.5018, allocations: 1.955 MB / 0.8247 GB, free: 11.94 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.528/7.03, allocations: 4.297 kB / 0.8247 GB, free: 11.94 MB / 0.6198 GB " [Timeout remaining time 653] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.943899260368198] Failed to read output from testmodel.py, exit status != 0: 7.110305308829993 7.119441048 6.635470137 Calling exit ...