Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-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.Examples.Polynomial,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.Polynomial,fileNamePrefix="IDEAS_dev_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.001342/0.001342, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001708/0.001708, allocations: 193 kB / 16.13 MB, free: 6.656 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.402/1.402, allocations: 222.9 MB / 239.8 MB, free: 4.578 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9062/0.9062, allocations: 135.1 MB / 425.1 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001169/0.001169, allocations: 55.44 kB / 0.5048 GB, free: 5.699 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1447, allocations: 80.93 MB / 0.5838 GB, free: 4.934 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002286/0.147, allocations: 1.479 MB / 0.5853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002679/0.1473, allocations: 100.6 kB / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.913e-05/0.1473, allocations: 0 / 0.5854 GB, free: 3.336 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 5.607e-05/0.1474, allocations: 3.984 kB / 0.5854 GB, free: 3.332 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.918e-05/0.1474, allocations: 8 kB / 0.5854 GB, free: 3.324 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001623/0.1476, allocations: 11.94 kB / 0.5854 GB, free: 3.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.458e-05/0.1476, allocations: 19.92 kB / 0.5854 GB, free: 3.293 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.091e-05/0.1477, allocations: 11.98 kB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.391e-05/0.1477, allocations: 7.938 kB / 0.5854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.294e-05/0.1478, allocations: 19.86 kB / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.02e-05/0.1478, allocations: 0 / 0.5854 GB, free: 3.254 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.298e-05/0.1479, allocations: 15.98 kB / 0.5855 GB, free: 3.238 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.935e-05/0.1479, allocations: 4 kB / 0.5855 GB, free: 3.234 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.443e-05/0.1479, allocations: 19.91 kB / 0.5855 GB, free: 3.215 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.489e-05/0.148, allocations: 35.91 kB / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.715e-06/0.1481, allocations: 0 / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.72e-07/0.1481, allocations: 0 / 0.5855 GB, free: 3.18 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.886e-06/0.1481, allocations: 0 / 0.5855 GB, free: 3.18 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003674/0.1484, allocations: 347.7 kB / 0.5858 GB, free: 2.789 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.21e-05/0.1485, allocations: 8.031 kB / 0.5858 GB, free: 2.781 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.579e-05/0.1485, allocations: 30.75 kB / 0.5859 GB, free: 2.742 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.256e-05/0.1485, allocations: 8.844 kB / 0.5859 GB, free: 2.734 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.849e-05/0.1486, allocations: 164.4 kB / 0.586 GB, free: 2.535 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.1486, allocations: 8.312 kB / 0.586 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.656e-06/0.1487, allocations: 384 / 0.586 GB, free: 2.527 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.1488, allocations: 54.22 kB / 0.5861 GB, free: 2.469 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.1488, allocations: 3.938 kB / 0.5861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.292e-06/0.1488, allocations: 0 / 0.5861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.1489, allocations: 0 / 0.5861 GB, free: 2.465 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001627/0.149, allocations: 47.95 kB / 0.5862 GB, free: 2.418 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002658/0.1493, allocations: 253 kB / 0.5864 GB, free: 2.121 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001227/0.1494, allocations: 46.38 kB / 0.5864 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.422e-05/0.1495, allocations: 28.89 kB / 0.5865 GB, free: 2.035 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.802e-05/0.1496, allocations: 4 kB / 0.5865 GB, free: 2.031 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1496, allocations: 34.56 kB / 0.5865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.062e-06/0.1496, allocations: 0 / 0.5865 GB, free: 1.988 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003249/0.1499, allocations: 89.55 kB / 0.5866 GB, free: 1.895 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.156e-05/0.15, allocations: 55.34 kB / 0.5866 GB, free: 1.828 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.733e-05/0.15, allocations: 105.8 kB / 0.5867 GB, free: 1.715 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.106e-05/0.15, allocations: 29.83 kB / 0.5868 GB, free: 1.68 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.884e-05/0.1501, allocations: 88.14 kB / 0.5869 GB, free: 1.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.508e-05/0.1501, allocations: 7.844 kB / 0.5869 GB, free: 1.582 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.837e-05/0.1501, allocations: 9.719 kB / 0.5869 GB, free: 1.566 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.611e-05/0.1502, allocations: 322.8 kB / 0.5872 GB, free: 1.242 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.543e-05/0.1503, allocations: 11.98 kB / 0.5872 GB, free: 1.23 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.781e-05/0.1504, allocations: 19.98 kB / 0.5872 GB, free: 1.211 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000152/0.1506, allocations: 48.88 kB / 0.5873 GB, free: 1.16 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.1506, allocations: 3.938 kB / 0.5873 GB, free: 1.156 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001927/0.1508, allocations: 65.66 kB / 0.5873 GB, free: 1.086 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.1508, allocations: 6.031 kB / 0.5873 GB, free: 1.082 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.666e-06/0.1508, allocations: 7.875 kB / 0.5873 GB, free: 1.074 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.1508, allocations: 8.031 kB / 0.5873 GB, free: 1.066 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.207e-05/0.1509, allocations: 7.984 kB / 0.5873 GB, free: 1.059 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.232e-06/0.1509, allocations: 3.984 kB / 0.5874 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.914e-05/0.151, allocations: 8 kB / 0.5874 GB, free: 1.047 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.151, allocations: 0 / 0.5874 GB, free: 1.047 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 (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 6.126e-05/0.1511, allocations: 113.8 kB / 0.5875 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.55e-05/0.1511, allocations: 3.984 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002249/0.1513, allocations: 81.19 kB / 0.5875 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1513, allocations: 0 / 0.5875 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-06/0.1513, allocations: 0 / 0.5875 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.1514, allocations: 0 / 0.5875 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000141/0.1515, allocations: 169.6 kB / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.1515, allocations: 0 / 0.5877 GB, free: 0.6172 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.039e-05/0.1516, allocations: 7.938 kB / 0.5877 GB, free: 0.6094 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/0.1516, allocations: 3.984 kB / 0.5877 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.324e-06/0.1516, allocations: 0 / 0.5877 GB, free: 0.6055 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.1516, allocations: 12.22 kB / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1516, allocations: 0 / 0.5877 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002226/0.1518, allocations: 167.4 kB / 0.5879 GB, free: 424 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.142e-05/0.1519, allocations: 85.11 kB / 0.588 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.226e-05/0.1519, allocations: 0 / 0.588 GB, free: 320 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.892e-05/0.152, allocations: 7.984 kB / 0.588 GB, free: 312 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.51e-05/0.152, allocations: 4.031 kB / 0.588 GB, free: 308 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.152, allocations: 0 / 0.588 GB, free: 308 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.809e-05/0.1521, allocations: 91.27 kB / 0.5881 GB, free: 216 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1521, allocations: 0 / 0.5881 GB, free: 216 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.000222/0.1523, allocations: 8 kB / 0.5881 GB, free: 208 kB / 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 (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.000501/0.1528, allocations: 0.7008 MB / 0.5888 GB, free: 15.47 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001968/0.153, allocations: 43.95 kB / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.153, allocations: 0 / 0.5888 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.408e-05/0.1531, allocations: 15.98 kB / 0.5888 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002585/0.1534, allocations: 12.16 kB / 0.5888 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.1538, allocations: 156.8 kB / 0.589 GB, free: 15.21 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002337/0.154, allocations: 0.6809 MB / 0.5896 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.211e-05/0.154, allocations: 0 / 0.5896 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.687e-05/0.1541, allocations: 15.27 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1541, allocations: 3.938 kB / 0.5897 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01059/0.1647, allocations: 1.225 MB / 0.5909 GB, free: 13.36 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.1649, allocations: 176.3 kB / 0.591 GB, free: 13.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.858/2.023, allocations: 5.422 kB / 0.591 GB, free: 13.11 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Examples_Polynomial.fmu > IDEAS_dev_IDEAS.Utilities.Math.Examples.Polynomial.pipe 2>&1)