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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) 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.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=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001275/0.001275, allocations: 194.6 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7292/0.7292, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 68.33 kB / 0.5018 GB, free: 3.855 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4255/0.4268, allocations: 80.21 MB / 0.5801 GB, free: 4.543 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001977/0.4289, allocations: 0.5727 MB / 0.5807 GB, free: 4.188 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002328/0.4291, allocations: 43.44 kB / 0.5807 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.248e-05/0.4291, allocations: 0.5312 kB / 0.5807 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.466e-05/0.4292, allocations: 1.719 kB / 0.5807 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.789e-06/0.4292, allocations: 0 / 0.5807 GB, free: 4.156 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002728/0.4295, allocations: 12.33 kB / 0.5807 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.431e-05/0.4295, allocations: 6.828 kB / 0.5807 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.959e-05/0.4296, allocations: 1.453 kB / 0.5807 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.537e-05/0.4296, allocations: 1.094 kB / 0.5807 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.359e-05/0.4296, allocations: 1.625 kB / 0.5807 GB, free: 4.148 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.628e-06/0.4297, allocations: 4 kB / 0.5807 GB, free: 4.145 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.988e-05/0.4298, allocations: 16.98 kB / 0.5808 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.056e-05/0.4298, allocations: 0.6094 kB / 0.5808 GB, free: 4.141 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.888e-05/0.4298, allocations: 3.938 kB / 0.5808 GB, free: 4.137 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001138/0.4299, allocations: 19.38 kB / 0.5808 GB, free: 4.129 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.49e-06/0.4299, allocations: 1.734 kB / 0.5808 GB, free: 4.129 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.4299, allocations: 3.938 kB / 0.5808 GB, free: 4.125 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.318e-06/0.43, allocations: 0 / 0.5808 GB, free: 4.125 MB / 430.1 MB 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.0002308/0.4302, allocations: 313.7 kB / 0.5811 GB, free: 3.773 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.789e-05/0.4302, allocations: 14.08 kB / 0.5811 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.824e-05/0.4303, allocations: 1.969 kB / 0.5811 GB, free: 3.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.292e-05/0.4303, allocations: 161.7 kB / 0.5812 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.123e-05/0.4304, allocations: 384 / 0.5812 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.484e-06/0.4304, allocations: 1.781 kB / 0.5813 GB, free: 3.574 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.979e-05/0.4305, allocations: 29.53 kB / 0.5813 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.614e-06/0.4305, allocations: 192 / 0.5813 GB, free: 3.543 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.4305, allocations: 8.547 kB / 0.5813 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/0.4305, allocations: 0.7188 kB / 0.5813 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.4305, allocations: 2.641 kB / 0.5813 GB, free: 3.535 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.602e-05/0.4306, allocations: 147.7 kB / 0.5814 GB, free: 3.344 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.471e-05/0.4307, allocations: 21.3 kB / 0.5815 GB, free: 3.316 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.567e-05/0.4307, allocations: 6.422 kB / 0.5815 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.638e-05/0.4307, allocations: 2.516 kB / 0.5815 GB, free: 3.309 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.809e-05/0.4307, allocations: 35.47 kB / 0.5815 GB, free: 3.266 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.4308, allocations: 0 / 0.5815 GB, free: 3.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.000123/0.4309, allocations: 45.03 kB / 0.5815 GB, free: 3.223 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.387e-05/0.4309, allocations: 52.09 kB / 0.5816 GB, free: 3.16 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.895e-05/0.4309, allocations: 90.61 kB / 0.5817 GB, free: 3.062 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.594e-06/0.431, allocations: 26.31 kB / 0.5817 GB, free: 3.031 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.12e-05/0.431, allocations: 81.36 kB / 0.5818 GB, free: 2.949 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/0.431, allocations: 3.906 kB / 0.5818 GB, free: 2.945 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.59e-05/0.431, allocations: 16.52 kB / 0.5818 GB, free: 2.926 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.219e-05/0.4311, allocations: 316.5 kB / 0.5821 GB, free: 2.609 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.214e-05/0.4311, allocations: 9.375 kB / 0.5821 GB, free: 2.602 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.095e-06/0.4311, allocations: 1.344 kB / 0.5821 GB, free: 2.602 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.94e-05/0.4311, allocations: 8.156 kB / 0.5821 GB, free: 2.594 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.4311, allocations: 0 / 0.5821 GB, free: 2.594 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.662e-05/0.4312, allocations: 46.03 kB / 0.5822 GB, free: 2.551 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.406e-05/0.4312, allocations: 4.844 kB / 0.5822 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.4312, allocations: 0.6562 kB / 0.5822 GB, free: 2.551 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.4313, allocations: 4.656 kB / 0.5822 GB, free: 2.547 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.557e-05/0.4313, allocations: 6.891 kB / 0.5822 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.4313, allocations: 0 / 0.5822 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.41e-05/0.4313, allocations: 1.578 kB / 0.5822 GB, free: 2.543 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.15e-05/0.4314, allocations: 1.031 kB / 0.5822 GB, free: 2.543 MB / 430.1 MB 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.841e-05/0.4314, allocations: 111.5 kB / 0.5823 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.4314, allocations: 2.078 kB / 0.5823 GB, free: 2.426 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.999e-05/0.4315, allocations: 44.84 kB / 0.5823 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.697e-06/0.4315, allocations: 1.25 kB / 0.5823 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.4316, allocations: 0.7031 kB / 0.5823 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.425e-06/0.4316, allocations: 0 / 0.5823 GB, free: 2.383 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.376e-05/0.4316, allocations: 148.9 kB / 0.5825 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.813e-06/0.4316, allocations: 0 / 0.5825 GB, free: 2.191 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.151e-05/0.4317, allocations: 7.062 kB / 0.5825 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.923e-06/0.4317, allocations: 0 / 0.5825 GB, free: 2.188 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-06/0.4317, allocations: 5.625 kB / 0.5825 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.4317, allocations: 0 / 0.5825 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.4317, allocations: 1.375 kB / 0.5825 GB, free: 2.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.535e-05/0.4317, allocations: 58.34 kB / 0.5825 GB, free: 2.117 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.392e-05/0.4318, allocations: 77.72 kB / 0.5826 GB, free: 2.023 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.4318, allocations: 8.875 kB / 0.5826 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.271e-05/0.4318, allocations: 0.7031 kB / 0.5826 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.4318, allocations: 1.562 kB / 0.5826 GB, free: 2.016 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.68e-06/0.4318, allocations: 1.328 kB / 0.5826 GB, free: 2.016 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.179e-05/0.4318, allocations: 79.81 kB / 0.5827 GB, free: 1.938 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4318, allocations: 0 / 0.5827 GB, free: 1.938 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.4321, allocations: 5.594 kB / 0.5827 GB, free: 1.938 MB / 430.1 MB 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.0001413/0.4322, allocations: 103.7 kB / 0.5828 GB, free: 1.848 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.037e-05/0.4323, allocations: 10.08 kB / 0.5828 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4323, allocations: 0 / 0.5828 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.035e-06/0.4323, allocations: 1.375 kB / 0.5828 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001456/0.4325, allocations: 4.672 kB / 0.5828 GB, free: 1.844 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001786/0.4327, allocations: 88.42 kB / 0.5829 GB, free: 1.742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.627e-05/0.4327, allocations: 0.6715 MB / 0.5836 GB, free: 1.047 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.681e-05/0.4328, allocations: 5.938 kB / 0.5836 GB, free: 1.043 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.311e-05/0.4328, allocations: 9.219 kB / 0.5836 GB, free: 1.035 MB / 430.1 MB Notification: Performance of SimCode: time 1.8e-07/0.4328, allocations: 0 / 0.5836 GB, free: 1.035 MB / 430.1 MB Notification: Performance of Templates: time 0.002287/0.4351, allocations: 284.2 kB / 0.5838 GB, free: 0.9766 MB / 430.1 MB make -j1 -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile (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 & ./IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)