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) 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-master/package.mo", uses=false) 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: "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_dev_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.005699/0.005699, allocations: 102.9 kB / 15.73 MB, free: 6.047 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.001192/0.001192, allocations: 193.5 kB / 16.67 MB, free: 5.961 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.348/1.348, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7831/0.7831, allocations: 135.1 MB / 425.7 MB, free: 4.113 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001151/0.001151, allocations: 65.41 kB / 0.5852 GB, free: 21.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1561/0.1572, allocations: 80.91 MB / 0.6642 GB, free: 6.258 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001829/0.1591, allocations: 0.5746 MB / 0.6648 GB, free: 5.688 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002533/0.1594, allocations: 35.88 kB / 0.6648 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.461e-05/0.1594, allocations: 0 / 0.6648 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.319e-05/0.1594, allocations: 0 / 0.6648 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 8.116e-06/0.1595, allocations: 0 / 0.6648 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003183/0.1598, allocations: 11.88 kB / 0.6648 GB, free: 5.641 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.675e-05/0.1598, allocations: 7.984 kB / 0.6648 GB, free: 5.633 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.413e-05/0.1599, allocations: 4 kB / 0.6648 GB, free: 5.629 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.1599, allocations: 7.984 kB / 0.6648 GB, free: 5.621 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.191e-05/0.16, allocations: 4 kB / 0.6648 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.608e-06/0.16, allocations: 0 / 0.6648 GB, free: 5.617 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.637e-05/0.1601, allocations: 19.98 kB / 0.6648 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.446e-06/0.1601, allocations: 0 / 0.6648 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.949e-05/0.1601, allocations: 0 / 0.6648 GB, free: 5.598 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.324e-05/0.1602, allocations: 15.98 kB / 0.6649 GB, free: 5.582 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.1602, allocations: 3.938 kB / 0.6649 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.843e-06/0.1602, allocations: 0 / 0.6649 GB, free: 5.578 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.023e-06/0.1602, allocations: 3.984 kB / 0.6649 GB, free: 5.574 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003362/0.1606, allocations: 311.6 kB / 0.6652 GB, free: 5.219 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.1606, allocations: 9.109 kB / 0.6652 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.371e-05/0.1607, allocations: 30.75 kB / 0.6652 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.171e-05/0.1607, allocations: 4.938 kB / 0.6652 GB, free: 5.168 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001238/0.1608, allocations: 171 kB / 0.6654 GB, free: 4.965 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.265e-05/0.1609, allocations: 4.375 kB / 0.6654 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.428e-06/0.1609, allocations: 384 / 0.6654 GB, free: 4.961 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.108e-05/0.161, allocations: 30.2 kB / 0.6654 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.276e-05/0.161, allocations: 3.938 kB / 0.6654 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.161, allocations: 3.938 kB / 0.6654 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.927e-06/0.161, allocations: 8 kB / 0.6654 GB, free: 4.91 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.273e-05/0.1611, allocations: 7.938 kB / 0.6654 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001418/0.1612, allocations: 145.7 kB / 0.6656 GB, free: 4.711 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.418e-05/0.1612, allocations: 18.61 kB / 0.6656 GB, free: 4.684 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.716e-05/0.1613, allocations: 4.859 kB / 0.6656 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.848e-05/0.1613, allocations: 4.062 kB / 0.6656 GB, free: 4.672 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.693e-05/0.1613, allocations: 38.56 kB / 0.6656 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.1614, allocations: 0 / 0.6656 GB, free: 4.625 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.00015/0.1615, allocations: 37.58 kB / 0.6657 GB, free: 4.582 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.917e-05/0.1616, allocations: 51.41 kB / 0.6657 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.679e-05/0.1616, allocations: 93.84 kB / 0.6658 GB, free: 4.418 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.1616, allocations: 29.7 kB / 0.6658 GB, free: 4.383 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.65e-05/0.1617, allocations: 80.14 kB / 0.6659 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.568e-05/0.1617, allocations: 0 / 0.6659 GB, free: 4.301 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.26e-05/0.1617, allocations: 10.19 kB / 0.6659 GB, free: 4.285 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001134/0.1618, allocations: 318.8 kB / 0.6662 GB, free: 3.965 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.1619, allocations: 4 kB / 0.6662 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.106e-06/0.1619, allocations: 0 / 0.6662 GB, free: 3.961 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.137e-05/0.1619, allocations: 8.859 kB / 0.6662 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.1619, allocations: 0 / 0.6662 GB, free: 3.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.747e-05/0.162, allocations: 37.62 kB / 0.6663 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.741e-05/0.162, allocations: 10.03 kB / 0.6663 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.982e-06/0.162, allocations: 8.031 kB / 0.6663 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.222e-05/0.162, allocations: 0 / 0.6663 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.497e-05/0.1621, allocations: 0 / 0.6663 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.1621, allocations: 0 / 0.6663 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/0.1621, allocations: 4 kB / 0.6663 GB, free: 3.887 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.1621, allocations: 0 / 0.6663 GB, free: 3.887 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 (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 7.346e-05/0.1622, allocations: 109.8 kB / 0.6664 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.783e-06/0.1622, allocations: 0 / 0.6664 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001001/0.1623, allocations: 48.75 kB / 0.6664 GB, free: 3.711 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1623, allocations: 3.938 kB / 0.6664 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.202e-06/0.1624, allocations: 0 / 0.6664 GB, free: 3.707 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.964e-06/0.1624, allocations: 3.938 kB / 0.6664 GB, free: 3.703 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1625, allocations: 157.7 kB / 0.6666 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1625, allocations: 0 / 0.6666 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/0.1625, allocations: 0 / 0.6666 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.1625, allocations: 0 / 0.6666 GB, free: 3.5 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.1625, allocations: 3.938 kB / 0.6666 GB, free: 3.496 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1625, allocations: 12.03 kB / 0.6666 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.1625, allocations: 0 / 0.6666 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.038e-05/0.1626, allocations: 57.06 kB / 0.6667 GB, free: 3.41 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.178e-05/0.1626, allocations: 77.11 kB / 0.6667 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.205e-05/0.1627, allocations: 7.938 kB / 0.6667 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.98e-05/0.1627, allocations: 8 kB / 0.6668 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.908e-06/0.1627, allocations: 0 / 0.6668 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1627, allocations: 32 / 0.6668 GB, free: 3.301 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.1627, allocations: 79.28 kB / 0.6668 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.694e-06/0.1627, allocations: 0 / 0.6668 GB, free: 3.223 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002032/0.163, allocations: 15.94 kB / 0.6668 GB, free: 3.207 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 (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.0003708/0.1633, allocations: 0.597 MB / 0.6674 GB, free: 2.582 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.714e-05/0.1634, allocations: 12.02 kB / 0.6674 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.1634, allocations: 0 / 0.6674 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.043e-05/0.1634, allocations: 7.938 kB / 0.6674 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001307/0.1636, allocations: 0 / 0.6674 GB, free: 2.562 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/0.1639, allocations: 118.5 kB / 0.6676 GB, free: 2.406 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.1641, allocations: 0.6729 MB / 0.6682 GB, free: 1.707 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.665e-05/0.1641, allocations: 8.125 kB / 0.6682 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.499e-05/0.1642, allocations: 7.438 kB / 0.6682 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of SimCode: time 1.9e-07/0.1642, allocations: 0 / 0.6682 GB, free: 1.691 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01668/0.1809, allocations: 1.001 MB / 0.6692 GB, free: 0.7695 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.237/7.418, allocations: 14.58 kB / 0.6692 GB, free: 0.7617 MB / 0.4981 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)