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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001286/0.001286, allocations: 110.2 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001616/0.001616, allocations: 192 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.512/1.512, allocations: 225.6 MB / 251 MB, free: 13.03 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.179/1.179, allocations: 177.9 MB / 484.2 MB, free: 5.387 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002016/0.002016, allocations: 65.34 kB / 0.674 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6771/0.6791, allocations: 95.17 MB / 0.767 GB, free: 7.949 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001888/0.681, allocations: 0.578 MB / 0.7675 GB, free: 7.754 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0002759/0.6813, allocations: 39.81 kB / 0.7676 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.381e-05/0.6813, allocations: 0 / 0.7676 GB, free: 7.734 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.857e-05/0.6813, allocations: 3.938 kB / 0.7676 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 7.815e-06/0.6813, allocations: 1.156 kB / 0.7676 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003506/0.6816, allocations: 12.38 kB / 0.7676 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 5.191e-05/0.6817, allocations: 2.469 kB / 0.7676 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.129e-05/0.6818, allocations: 2.141 kB / 0.7676 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.664e-05/0.6818, allocations: 5.578 kB / 0.7676 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.051e-05/0.6818, allocations: 0.5625 kB / 0.7676 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.255e-05/0.6818, allocations: 1.344 kB / 0.7676 GB, free: 7.727 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001072/0.6819, allocations: 26.19 kB / 0.7676 GB, free: 7.723 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.048e-05/0.6819, allocations: 3.938 kB / 0.7676 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.343e-05/0.682, allocations: 1.469 kB / 0.7676 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.6821, allocations: 22.81 kB / 0.7677 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.648e-06/0.6821, allocations: 0 / 0.7677 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6821, allocations: 1.312 kB / 0.7677 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.163e-05/0.6821, allocations: 0 / 0.7677 GB, free: 7.715 MB / 0.5762 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.0002777/0.6824, allocations: 233.5 kB / 0.7679 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.6824, allocations: 8.938 kB / 0.7679 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.172e-05/0.6824, allocations: 3.031 kB / 0.7679 GB, free: 7.461 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.702e-05/0.6825, allocations: 112.1 kB / 0.768 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.6825, allocations: 384 / 0.768 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.6825, allocations: 384 / 0.768 GB, free: 7.332 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001047/0.6826, allocations: 30.67 kB / 0.768 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-06/0.6826, allocations: 192 / 0.768 GB, free: 7.301 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.866e-06/0.6826, allocations: 3.938 kB / 0.768 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.6826, allocations: 0.75 kB / 0.768 GB, free: 7.297 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.119e-05/0.6827, allocations: 7.375 kB / 0.768 GB, free: 7.293 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000106/0.6828, allocations: 121.4 kB / 0.7681 GB, free: 7.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.82e-05/0.6828, allocations: 18.61 kB / 0.7682 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.703e-05/0.6828, allocations: 5.516 kB / 0.7682 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 4.233e-05/0.6829, allocations: 2.844 kB / 0.7682 GB, free: 7.105 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.6829, allocations: 31.12 kB / 0.7682 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 9.92e-07/0.6829, allocations: 0 / 0.7682 GB, free: 7.066 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001465/0.6831, allocations: 43.59 kB / 0.7682 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.667e-05/0.6831, allocations: 57.7 kB / 0.7683 GB, free: 6.961 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.829e-05/0.6831, allocations: 89.86 kB / 0.7684 GB, free: 6.863 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.843e-06/0.6831, allocations: 25.7 kB / 0.7684 GB, free: 6.832 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 1.3e-05/0.6831, allocations: 86.08 kB / 0.7685 GB, free: 6.746 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.3e-05/0.6832, allocations: 3.953 kB / 0.7685 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.6832, allocations: 11.91 kB / 0.7685 GB, free: 6.727 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 4.818e-05/0.6832, allocations: 312.9 kB / 0.7688 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.226e-05/0.6832, allocations: 5.625 kB / 0.7688 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.672e-06/0.6832, allocations: 5.719 kB / 0.7688 GB, free: 6.41 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.554e-05/0.6833, allocations: 11.47 kB / 0.7688 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.6833, allocations: 0 / 0.7688 GB, free: 6.398 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.925e-05/0.6833, allocations: 37.05 kB / 0.7689 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.6833, allocations: 5.688 kB / 0.7689 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.6833, allocations: 3.938 kB / 0.7689 GB, free: 6.359 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6834, allocations: 5.219 kB / 0.7689 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.904e-05/0.6834, allocations: 1.781 kB / 0.7689 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.6834, allocations: 1.609 kB / 0.7689 GB, free: 6.355 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.253e-05/0.6834, allocations: 4.094 kB / 0.7689 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.454e-05/0.6835, allocations: 2.109 kB / 0.7689 GB, free: 6.352 MB / 0.5762 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 4.551e-05/0.6835, allocations: 111.2 kB / 0.769 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.324e-06/0.6835, allocations: 1.312 kB / 0.769 GB, free: 6.238 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.537e-05/0.6836, allocations: 47.98 kB / 0.769 GB, free: 6.195 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.024e-06/0.6836, allocations: 6.172 kB / 0.769 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.6836, allocations: 0 / 0.769 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.385e-06/0.6836, allocations: 0 / 0.769 GB, free: 6.191 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.816e-05/0.6837, allocations: 123.8 kB / 0.7692 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.6837, allocations: 1.656 kB / 0.7692 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.632e-05/0.6837, allocations: 2.281 kB / 0.7692 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.6837, allocations: 0 / 0.7692 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.6837, allocations: 4.547 kB / 0.7692 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6837, allocations: 0.7812 kB / 0.7692 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.6837, allocations: 1.188 kB / 0.7692 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.854e-05/0.6837, allocations: 60.17 kB / 0.7692 GB, free: 5.965 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.075e-06/0.6838, allocations: 10.61 kB / 0.7692 GB, free: 5.957 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.316e-05/0.6838, allocations: 4.5 kB / 0.7692 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.115e-05/0.6838, allocations: 0.9375 kB / 0.7692 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.6838, allocations: 1.656 kB / 0.7692 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.6838, allocations: 1.094 kB / 0.7693 GB, free: 5.953 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 1.51e-05/0.6838, allocations: 79.88 kB / 0.7693 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of sort global known variables: time 4e-08/0.6838, allocations: 0 / 0.7693 GB, free: 5.875 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002355/0.6841, allocations: 8.875 kB / 0.7693 GB, free: 5.871 MB / 0.5762 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.0001547/0.6842, allocations: 98.11 kB / 0.7694 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001053/0.6843, allocations: 4.016 kB / 0.7694 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.899e-06/0.6843, allocations: 0.9062 kB / 0.7694 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 1.441e-05/0.6843, allocations: 6.281 kB / 0.7694 GB, free: 5.781 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00014/0.6845, allocations: 7.625 kB / 0.7694 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001787/0.6846, allocations: 88.41 kB / 0.7695 GB, free: 5.672 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001045/0.6848, allocations: 0.6717 MB / 0.7702 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.453e-05/0.6848, allocations: 9.922 kB / 0.7702 GB, free: 4.969 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.012e-05/0.6848, allocations: 8.375 kB / 0.7702 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of SimCode: time 3.11e-07/0.6848, allocations: 1.156 kB / 0.7702 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of Templates: time 0.002808/0.6876, allocations: 296.7 kB / 0.7705 GB, free: 4.906 MB / 0.5762 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.490401063114405] Failed to read output from testmodel.py, exit status != 0: 0.696599505841732 0.713765871 0.027150494 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7f0f0d1a97b0>