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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_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.001449/0.001449, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001686/0.001686, allocations: 193.2 kB / 16.25 MB, free: 6.629 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.364/1.364, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7236/0.7236, allocations: 132.2 MB / 422.3 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001141/0.001141, allocations: 63.56 kB / 0.5014 GB, free: 8.992 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1359/0.137, allocations: 80.2 MB / 0.5797 GB, free: 9.004 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001717/0.1388, allocations: 0.6388 MB / 0.5803 GB, free: 8.359 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002009/0.139, allocations: 31.88 kB / 0.5803 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.015e-06/0.139, allocations: 0 / 0.5803 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.592e-05/0.139, allocations: 0 / 0.5803 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.308e-06/0.139, allocations: 3.938 kB / 0.5804 GB, free: 8.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002219/0.1393, allocations: 15.98 kB / 0.5804 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.392e-05/0.1393, allocations: 0 / 0.5804 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.697e-05/0.1394, allocations: 0 / 0.5804 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.234e-05/0.1394, allocations: 4 kB / 0.5804 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.717e-05/0.1394, allocations: 4 kB / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.465e-06/0.1394, allocations: 0 / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.502e-05/0.1395, allocations: 19.97 kB / 0.5804 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.855e-06/0.1395, allocations: 0 / 0.5804 GB, free: 8.281 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.511e-05/0.1395, allocations: 3.938 kB / 0.5804 GB, free: 8.277 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.384e-05/0.1396, allocations: 19.97 kB / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1396, allocations: 0 / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1396, allocations: 0 / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1396, allocations: 0 / 0.5804 GB, free: 8.258 MB / 494.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.0002465/0.1399, allocations: 317 kB / 0.5807 GB, free: 7.898 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.1399, allocations: 16.03 kB / 0.5807 GB, free: 7.883 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.009e-05/0.14, allocations: 34.69 kB / 0.5808 GB, free: 7.84 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.773e-05/0.14, allocations: 4.938 kB / 0.5808 GB, free: 7.836 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.158e-05/0.1401, allocations: 160.4 kB / 0.5809 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.755e-06/0.1401, allocations: 384 / 0.5809 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.77e-06/0.1401, allocations: 384 / 0.5809 GB, free: 7.641 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.187e-05/0.1401, allocations: 34.25 kB / 0.581 GB, free: 7.602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.1402, allocations: 3.938 kB / 0.581 GB, free: 7.598 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.23e-06/0.1402, allocations: 0 / 0.581 GB, free: 7.598 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.639e-06/0.1402, allocations: 7.984 kB / 0.581 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.549e-05/0.1402, allocations: 0 / 0.581 GB, free: 7.59 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.1403, allocations: 145.7 kB / 0.5811 GB, free: 7.398 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.567e-05/0.1404, allocations: 22.52 kB / 0.5811 GB, free: 7.367 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.431e-05/0.1404, allocations: 8.953 kB / 0.5811 GB, free: 7.355 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.691e-05/0.1404, allocations: 3.984 kB / 0.5811 GB, free: 7.352 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.869e-05/0.1404, allocations: 30.56 kB / 0.5812 GB, free: 7.312 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.1404, allocations: 4 kB / 0.5812 GB, free: 7.309 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001127/0.1406, allocations: 37.64 kB / 0.5812 GB, free: 7.266 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.1406, allocations: 63.28 kB / 0.5813 GB, free: 7.191 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.971e-05/0.1406, allocations: 89.86 kB / 0.5814 GB, free: 7.094 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.1407, allocations: 29.7 kB / 0.5814 GB, free: 7.059 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.252e-05/0.1407, allocations: 80.14 kB / 0.5815 GB, free: 6.977 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.694e-05/0.1407, allocations: 3.906 kB / 0.5815 GB, free: 6.973 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.432e-05/0.1407, allocations: 17.66 kB / 0.5815 GB, free: 6.949 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.982e-05/0.1408, allocations: 319 kB / 0.5818 GB, free: 6.629 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.666e-06/0.1409, allocations: 0 / 0.5818 GB, free: 6.629 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.354e-06/0.1409, allocations: 4 kB / 0.5818 GB, free: 6.625 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.245e-05/0.1409, allocations: 4.859 kB / 0.5818 GB, free: 6.617 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1409, allocations: 0 / 0.5818 GB, free: 6.617 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.451e-05/0.141, allocations: 37.7 kB / 0.5818 GB, free: 6.574 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.042e-05/0.141, allocations: 7.938 kB / 0.5818 GB, free: 6.566 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.141, allocations: 3.938 kB / 0.5818 GB, free: 6.562 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.138e-05/0.141, allocations: 8.078 kB / 0.5819 GB, free: 6.555 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.669e-05/0.1411, allocations: 4 kB / 0.5819 GB, free: 6.551 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.1411, allocations: 3.984 kB / 0.5819 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.15e-05/0.1411, allocations: 0 / 0.5819 GB, free: 6.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.025e-05/0.1411, allocations: 0 / 0.5819 GB, free: 6.547 MB / 494.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 5.412e-05/0.1412, allocations: 109.8 kB / 0.582 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.182e-06/0.1412, allocations: 0 / 0.582 GB, free: 6.43 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.474e-05/0.1413, allocations: 52.75 kB / 0.582 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1413, allocations: 0 / 0.582 GB, free: 6.367 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.1413, allocations: 4 kB / 0.582 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1413, allocations: 0 / 0.582 GB, free: 6.363 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.577e-05/0.1414, allocations: 141.7 kB / 0.5822 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.1414, allocations: 0 / 0.5822 GB, free: 6.176 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.925e-05/0.1414, allocations: 7.984 kB / 0.5822 GB, free: 6.168 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1414, allocations: 3.938 kB / 0.5822 GB, free: 6.164 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1414, allocations: 3.938 kB / 0.5822 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1414, allocations: 4.031 kB / 0.5822 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.1414, allocations: 0 / 0.5822 GB, free: 6.156 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.48e-05/0.1415, allocations: 57.14 kB / 0.5822 GB, free: 6.082 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.838e-05/0.1415, allocations: 81.09 kB / 0.5823 GB, free: 5.984 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.969e-06/0.1415, allocations: 3.938 kB / 0.5823 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.025e-05/0.1416, allocations: 0 / 0.5823 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.418e-06/0.1416, allocations: 0 / 0.5823 GB, free: 5.98 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.32e-06/0.1416, allocations: 4 kB / 0.5823 GB, free: 5.977 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.55e-05/0.1416, allocations: 79.31 kB / 0.5824 GB, free: 5.898 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1416, allocations: 0 / 0.5824 GB, free: 5.898 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001778/0.1418, allocations: 4 kB / 0.5824 GB, free: 5.895 MB / 494.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.0003233/0.1421, allocations: 0.6055 MB / 0.583 GB, free: 5.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 5.597e-05/0.1422, allocations: 8.031 kB / 0.583 GB, free: 5.254 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.385e-06/0.1422, allocations: 4 kB / 0.583 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.783e-06/0.1422, allocations: 0 / 0.583 GB, free: 5.25 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001221/0.1423, allocations: 6.25 kB / 0.583 GB, free: 5.246 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002371/0.1426, allocations: 114.5 kB / 0.5831 GB, free: 5.094 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001992/0.1428, allocations: 0.6729 MB / 0.5838 GB, free: 4.395 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.576e-05/0.1428, allocations: 4.125 kB / 0.5838 GB, free: 4.391 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.881e-05/0.1428, allocations: 7.438 kB / 0.5838 GB, free: 4.387 MB / 494.1 MB Notification: Performance of SimCode: time 2.41e-07/0.1429, allocations: 0 / 0.5838 GB, free: 4.387 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09067/0.2335, allocations: 0.9125 MB / 0.5847 GB, free: 3.605 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002708/0.2338, allocations: 191.9 kB / 0.5849 GB, free: 3.348 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.71/1.944, allocations: 3.391 kB / 0.5849 GB, free: 3.348 MB / 494.1 MB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)