Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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: "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005213/0.005213, allocations: 100.7 kB / 15.73 MB, free: 6.039 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001726/0.001726, allocations: 186.9 kB / 16.67 MB, free: 5.977 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.374/1.374, allocations: 222.9 MB / 240.4 MB, free: 4.379 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7976/0.7976, allocations: 132.2 MB / 422.7 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001164/0.001164, allocations: 63.92 kB / 0.5809 GB, free: 1.121 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.175/0.1761, allocations: 80.21 MB / 0.6592 GB, free: 14 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002857/0.179, allocations: 1.437 MB / 0.6606 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0003632/0.1794, allocations: 100.5 kB / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.29e-05/0.1795, allocations: 0 / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 5.944e-05/0.1795, allocations: 0 / 0.6607 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 4.995e-05/0.1796, allocations: 7.938 kB / 0.6607 GB, free: 12.45 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1799, allocations: 19.91 kB / 0.6607 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.937e-05/0.1799, allocations: 23.98 kB / 0.6607 GB, free: 12.41 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001005/0.1801, allocations: 11.98 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 4.353e-05/0.1801, allocations: 4 kB / 0.6608 GB, free: 12.39 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.258e-05/0.1802, allocations: 15.92 kB / 0.6608 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.365e-05/0.1802, allocations: 4 kB / 0.6608 GB, free: 12.37 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1803, allocations: 19.92 kB / 0.6608 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.301e-05/0.1803, allocations: 7.938 kB / 0.6608 GB, free: 12.34 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 3.201e-05/0.1804, allocations: 19.92 kB / 0.6608 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001264/0.1805, allocations: 27.95 kB / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.1805, allocations: 0 / 0.6608 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.036e-06/0.1805, allocations: 4 kB / 0.6608 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.36e-06/0.1805, allocations: 3.938 kB / 0.6609 GB, free: 12.29 MB / 0.4981 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.0004722/0.181, allocations: 348.8 kB / 0.6612 GB, free: 11.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.1811, allocations: 8.031 kB / 0.6612 GB, free: 11.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.1811, allocations: 34.75 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.1811, allocations: 4.938 kB / 0.6612 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001338/0.1813, allocations: 164.3 kB / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.22e-05/0.1813, allocations: 384 / 0.6614 GB, free: 11.65 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.987e-06/0.1813, allocations: 8.312 kB / 0.6614 GB, free: 11.64 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.1815, allocations: 54.23 kB / 0.6614 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.989e-06/0.1815, allocations: 3.938 kB / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.196e-06/0.1815, allocations: 0 / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.1815, allocations: 0 / 0.6615 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001651/0.1817, allocations: 39.95 kB / 0.6615 GB, free: 11.54 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003707/0.1821, allocations: 253.5 kB / 0.6617 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001281/0.1822, allocations: 46.44 kB / 0.6618 GB, free: 11.19 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.411e-05/0.1823, allocations: 24.89 kB / 0.6618 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.578e-05/0.1824, allocations: 4 kB / 0.6618 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.154e-05/0.1824, allocations: 34.56 kB / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1824, allocations: 0 / 0.6618 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2): time 0.0003596/0.1828, allocations: 89.64 kB / 0.6619 GB, free: 11.02 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.598e-05/0.1828, allocations: 51.41 kB / 0.662 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.417e-05/0.1829, allocations: 109.8 kB / 0.6621 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.611e-05/0.1829, allocations: 25.7 kB / 0.6621 GB, free: 10.81 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 5.669e-05/0.183, allocations: 84.42 kB / 0.6622 GB, free: 10.72 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.419e-05/0.183, allocations: 15.78 kB / 0.6622 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.099e-05/0.1831, allocations: 13.84 kB / 0.6622 GB, free: 10.69 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0002048/0.1833, allocations: 318.8 kB / 0.6625 GB, free: 10.37 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.854e-05/0.1834, allocations: 15.98 kB / 0.6625 GB, free: 10.35 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000165/0.1836, allocations: 15.98 kB / 0.6625 GB, free: 10.34 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001524/0.1837, allocations: 48.88 kB / 0.6626 GB, free: 10.29 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.1837, allocations: 7.938 kB / 0.6626 GB, free: 10.28 MB / 0.4981 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.184, allocations: 69.64 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.184, allocations: 4 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.302e-06/0.184, allocations: 0 / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.155e-05/0.184, allocations: 4 kB / 0.6627 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.1842, allocations: 15.86 kB / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.292e-06/0.1842, allocations: 0 / 0.6627 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.658e-05/0.1843, allocations: 8.281 kB / 0.6627 GB, free: 10.17 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.801e-06/0.1843, allocations: 0 / 0.6627 GB, free: 10.17 MB / 0.4981 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 0.0001143/0.1844, allocations: 118.4 kB / 0.6628 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.246e-05/0.1845, allocations: 11.89 kB / 0.6628 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003165/0.1848, allocations: 73.19 kB / 0.6629 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.1848, allocations: 0 / 0.6629 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.1848, allocations: 0 / 0.6629 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.349e-06/0.1848, allocations: 4.031 kB / 0.6629 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.185, allocations: 169.6 kB / 0.6631 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.185, allocations: 0 / 0.6631 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.19e-05/0.1851, allocations: 4 kB / 0.6631 GB, free: 9.727 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.077e-06/0.1851, allocations: 7.922 kB / 0.6631 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.1851, allocations: 0 / 0.6631 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.895e-06/0.1851, allocations: 4 kB / 0.6631 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.874e-06/0.1851, allocations: 0 / 0.6631 GB, free: 9.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003438/0.1855, allocations: 167.5 kB / 0.6632 GB, free: 9.535 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.471e-05/0.1855, allocations: 85.02 kB / 0.6633 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.339e-05/0.1856, allocations: 0 / 0.6633 GB, free: 9.434 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.159e-05/0.1856, allocations: 7.984 kB / 0.6633 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.995e-05/0.1857, allocations: 0 / 0.6633 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.28e-06/0.1857, allocations: 0 / 0.6633 GB, free: 9.426 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.996e-05/0.1858, allocations: 91.27 kB / 0.6634 GB, free: 9.336 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.1e-07/0.1858, allocations: 4.031 kB / 0.6634 GB, free: 9.332 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002812/0.1861, allocations: 12 kB / 0.6634 GB, free: 9.32 MB / 0.4981 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.0006461/0.1867, allocations: 0.7006 MB / 0.6641 GB, free: 8.594 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002189/0.187, allocations: 43.98 kB / 0.6641 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.727e-06/0.187, allocations: 0 / 0.6641 GB, free: 8.551 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.404e-05/0.1871, allocations: 23.92 kB / 0.6642 GB, free: 8.527 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003151/0.1874, allocations: 4 kB / 0.6642 GB, free: 8.523 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000489/0.1879, allocations: 147.1 kB / 0.6643 GB, free: 8.336 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003438/0.1882, allocations: 0.6808 MB / 0.665 GB, free: 7.629 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.149e-05/0.1883, allocations: 4 kB / 0.665 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.44e-05/0.1883, allocations: 11.38 kB / 0.665 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of SimCode: time 2.91e-07/0.1883, allocations: 0 / 0.665 GB, free: 7.613 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01897/0.2073, allocations: 1.424 MB / 0.6664 GB, free: 6.277 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.58/7.788, allocations: 11.52 kB / 0.6664 GB, free: 6.27 MB / 0.4981 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)