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.001074/0.001074, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001078/0.001078, allocations: 190.8 kB / 16.25 MB, free: 6.621 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.306/1.306, allocations: 222.9 MB / 239.9 MB, free: 4.543 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.713/0.713, allocations: 132.2 MB / 422.2 MB, free: 1.973 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 59.53 kB / 0.5013 GB, free: 9.012 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1402/0.1415, allocations: 80.2 MB / 0.5797 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002415/0.144, allocations: 1.492 MB / 0.5811 GB, free: 7.52 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000232/0.1442, allocations: 92.58 kB / 0.5812 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.884e-05/0.1443, allocations: 0 / 0.5812 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.515e-05/0.1443, allocations: 4 kB / 0.5812 GB, free: 7.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.5e-05/0.1444, allocations: 4 kB / 0.5812 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001702/0.1445, allocations: 19.92 kB / 0.5812 GB, free: 7.398 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.849e-05/0.1446, allocations: 27.92 kB / 0.5813 GB, free: 7.371 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.127e-05/0.1447, allocations: 4 kB / 0.5813 GB, free: 7.367 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.467e-05/0.1447, allocations: 8 kB / 0.5813 GB, free: 7.359 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.872e-05/0.1447, allocations: 11.86 kB / 0.5813 GB, free: 7.348 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.937e-06/0.1448, allocations: 4 kB / 0.5813 GB, free: 7.344 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.864e-05/0.1448, allocations: 15.98 kB / 0.5813 GB, free: 7.328 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.19e-05/0.1449, allocations: 19.97 kB / 0.5813 GB, free: 7.309 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.99e-05/0.1449, allocations: 7.938 kB / 0.5813 GB, free: 7.301 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001051/0.145, allocations: 39.89 kB / 0.5814 GB, free: 7.262 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.145, allocations: 0 / 0.5814 GB, free: 7.262 MB / 494.1 MB Notification: Performance of FrontEnd: time 8.42e-07/0.145, allocations: 0 / 0.5814 GB, free: 7.262 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.145, allocations: 0 / 0.5814 GB, free: 7.262 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.0003676/0.1454, allocations: 347.6 kB / 0.5817 GB, free: 6.871 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.1454, allocations: 12.03 kB / 0.5817 GB, free: 6.859 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.786e-05/0.1455, allocations: 30.75 kB / 0.5818 GB, free: 6.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.139e-05/0.1455, allocations: 8.844 kB / 0.5818 GB, free: 6.812 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.48e-05/0.1456, allocations: 168.4 kB / 0.5819 GB, free: 6.609 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.073e-05/0.1456, allocations: 8.297 kB / 0.5819 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.502e-06/0.1456, allocations: 384 / 0.5819 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001666/0.1458, allocations: 50.23 kB / 0.582 GB, free: 6.547 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.057e-06/0.1458, allocations: 3.938 kB / 0.582 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.073e-06/0.1458, allocations: 0 / 0.582 GB, free: 6.543 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.1458, allocations: 8 kB / 0.582 GB, free: 6.535 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001613/0.146, allocations: 43.95 kB / 0.582 GB, free: 6.492 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002602/0.1463, allocations: 245 kB / 0.5823 GB, free: 6.203 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.1464, allocations: 54.36 kB / 0.5823 GB, free: 6.141 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.576e-05/0.1465, allocations: 24.91 kB / 0.5823 GB, free: 6.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.98e-05/0.1465, allocations: 4 kB / 0.5823 GB, free: 6.109 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.1466, allocations: 30.56 kB / 0.5824 GB, free: 6.07 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.1466, allocations: 0 / 0.5824 GB, free: 6.07 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003193/0.1469, allocations: 89.55 kB / 0.5825 GB, free: 5.977 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.308e-05/0.1469, allocations: 59.33 kB / 0.5825 GB, free: 5.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.912e-05/0.147, allocations: 106 kB / 0.5826 GB, free: 5.793 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.147, allocations: 29.7 kB / 0.5826 GB, free: 5.758 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.832e-05/0.1471, allocations: 88.12 kB / 0.5827 GB, free: 5.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.796e-05/0.1471, allocations: 11.83 kB / 0.5827 GB, free: 5.656 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.039e-05/0.1471, allocations: 13.72 kB / 0.5828 GB, free: 5.637 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.861e-05/0.1472, allocations: 314.8 kB / 0.5831 GB, free: 5.32 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.068e-05/0.1473, allocations: 15.98 kB / 0.5831 GB, free: 5.305 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.1474, allocations: 23.97 kB / 0.5831 GB, free: 5.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001402/0.1475, allocations: 40.83 kB / 0.5831 GB, free: 5.238 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.494e-06/0.1475, allocations: 3.938 kB / 0.5831 GB, free: 5.234 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001816/0.1477, allocations: 65.66 kB / 0.5832 GB, free: 5.164 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.71e-05/0.1478, allocations: 8 kB / 0.5832 GB, free: 5.156 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.246e-06/0.1478, allocations: 4.031 kB / 0.5832 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.847e-06/0.1478, allocations: 4 kB / 0.5832 GB, free: 5.148 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.124e-05/0.1479, allocations: 7.984 kB / 0.5832 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1479, allocations: 0 / 0.5832 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.148, allocations: 7.984 kB / 0.5832 GB, free: 5.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.478e-05/0.148, allocations: 8 kB / 0.5832 GB, free: 5.125 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 9.783e-05/0.1481, allocations: 110.4 kB / 0.5833 GB, free: 5.008 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.077e-05/0.1482, allocations: 4 kB / 0.5833 GB, free: 5.004 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.1485, allocations: 77.19 kB / 0.5834 GB, free: 4.922 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.783e-06/0.1485, allocations: 3.984 kB / 0.5834 GB, free: 4.918 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.441e-06/0.1486, allocations: 3.938 kB / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.699e-06/0.1486, allocations: 0 / 0.5834 GB, free: 4.914 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001529/0.1487, allocations: 161.6 kB / 0.5836 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1487, allocations: 0 / 0.5836 GB, free: 4.707 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.205e-05/0.1488, allocations: 11.92 kB / 0.5836 GB, free: 4.695 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.346e-06/0.1489, allocations: 4 kB / 0.5836 GB, free: 4.691 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.1489, allocations: 4.281 kB / 0.5836 GB, free: 4.688 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.715e-06/0.1489, allocations: 7.938 kB / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1489, allocations: 0 / 0.5836 GB, free: 4.68 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002432/0.1491, allocations: 171.4 kB / 0.5838 GB, free: 4.496 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.55e-05/0.1492, allocations: 77.11 kB / 0.5838 GB, free: 4.402 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.228e-05/0.1492, allocations: 3.984 kB / 0.5838 GB, free: 4.398 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.347e-05/0.1493, allocations: 8.031 kB / 0.5839 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.1493, allocations: 0 / 0.5839 GB, free: 4.391 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.1493, allocations: 7.984 kB / 0.5839 GB, free: 4.383 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.826e-05/0.1494, allocations: 83.28 kB / 0.5839 GB, free: 4.301 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1494, allocations: 0 / 0.5839 GB, free: 4.301 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003517/0.1497, allocations: 8 kB / 0.5839 GB, free: 4.293 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 (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.0007887/0.1505, allocations: 0.7045 MB / 0.5846 GB, free: 3.559 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002638/0.1508, allocations: 39.97 kB / 0.5847 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1508, allocations: 0 / 0.5847 GB, free: 3.52 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001209/0.151, allocations: 28 kB / 0.5847 GB, free: 3.492 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002666/0.1512, allocations: 10.53 kB / 0.5847 GB, free: 3.484 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.1516, allocations: 151 kB / 0.5849 GB, free: 3.297 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002372/0.1519, allocations: 0.6768 MB / 0.5855 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.206e-05/0.1519, allocations: 0 / 0.5855 GB, free: 2.594 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.264e-05/0.1519, allocations: 19.42 kB / 0.5855 GB, free: 2.574 MB / 494.1 MB Notification: Performance of SimCode: time 3.01e-07/0.1519, allocations: 4.062 kB / 0.5855 GB, free: 2.57 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07063/0.2226, allocations: 1.251 MB / 0.5868 GB, free: 1.434 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001773/0.2228, allocations: 179.3 kB / 0.5869 GB, free: 1.176 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/1.904, allocations: 0 / 0.5869 GB, free: 1.176 MB / 494.1 MB (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)