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.001226/0.001226, 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.001268/0.001268, allocations: 194.2 kB / 16.13 MB, free: 6.66 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.211/1.211, 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/package.mo): time 0.6596/0.6596, allocations: 132.2 MB / 422.1 MB, free: 2.027 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001041/0.001041, allocations: 67.34 kB / 0.5012 GB, free: 9.148 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1158/0.1168, allocations: 80.21 MB / 0.5795 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001999/0.1189, allocations: 1.485 MB / 0.581 GB, free: 7.66 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002493/0.1191, allocations: 96.59 kB / 0.581 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.915e-05/0.1192, allocations: 0 / 0.581 GB, free: 7.562 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.994e-05/0.1192, allocations: 3.984 kB / 0.5811 GB, free: 7.559 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.558e-05/0.1193, allocations: 3.938 kB / 0.5811 GB, free: 7.555 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001504/0.1194, allocations: 19.98 kB / 0.5811 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.25e-05/0.1195, allocations: 27.86 kB / 0.5811 GB, free: 7.508 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.254e-05/0.1195, allocations: 11.98 kB / 0.5811 GB, free: 7.496 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.619e-05/0.1196, allocations: 4 kB / 0.5811 GB, free: 7.492 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.056e-05/0.1196, allocations: 15.92 kB / 0.5811 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.077e-06/0.1196, allocations: 0 / 0.5811 GB, free: 7.477 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.858e-05/0.1197, allocations: 15.98 kB / 0.5811 GB, free: 7.461 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.865e-05/0.1197, allocations: 4 kB / 0.5812 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.281e-05/0.1197, allocations: 11.92 kB / 0.5812 GB, free: 7.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.125e-05/0.1198, allocations: 39.88 kB / 0.5812 GB, free: 7.406 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.1199, allocations: 8 kB / 0.5812 GB, free: 7.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.61e-07/0.1199, allocations: 0 / 0.5812 GB, free: 7.398 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.785e-06/0.1199, allocations: 0 / 0.5812 GB, free: 7.398 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.0003302/0.1202, allocations: 343.7 kB / 0.5815 GB, free: 7.012 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.17e-05/0.1202, allocations: 11.97 kB / 0.5815 GB, free: 7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.561e-05/0.1203, allocations: 34.69 kB / 0.5816 GB, free: 6.957 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.001e-05/0.1203, allocations: 8.844 kB / 0.5816 GB, free: 6.949 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.753e-05/0.1204, allocations: 160.4 kB / 0.5817 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.885e-06/0.1204, allocations: 384 / 0.5817 GB, free: 6.754 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.1204, allocations: 8.375 kB / 0.5817 GB, free: 6.746 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.1206, allocations: 50.23 kB / 0.5818 GB, free: 6.691 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.442e-06/0.1206, allocations: 3.938 kB / 0.5818 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.1206, allocations: 0 / 0.5818 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.469e-06/0.1206, allocations: 0 / 0.5818 GB, free: 6.688 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001517/0.1207, allocations: 43.89 kB / 0.5818 GB, free: 6.645 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002357/0.121, allocations: 260.9 kB / 0.5821 GB, free: 6.34 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001087/0.1211, allocations: 38.5 kB / 0.5821 GB, free: 6.293 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.1212, allocations: 28.89 kB / 0.5822 GB, free: 6.262 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.496e-05/0.1212, allocations: 4 kB / 0.5822 GB, free: 6.258 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.707e-05/0.1212, allocations: 30.56 kB / 0.5822 GB, free: 6.219 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 9.32e-07/0.1212, allocations: 4 kB / 0.5822 GB, free: 6.215 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000297/0.1216, allocations: 93.48 kB / 0.5823 GB, free: 6.117 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.42e-05/0.1216, allocations: 51.41 kB / 0.5823 GB, free: 6.055 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.032e-05/0.1216, allocations: 105.8 kB / 0.5824 GB, free: 5.941 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.004e-05/0.1217, allocations: 25.7 kB / 0.5825 GB, free: 5.91 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.153e-05/0.1217, allocations: 84.27 kB / 0.5825 GB, free: 5.824 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.413e-05/0.1217, allocations: 15.84 kB / 0.5826 GB, free: 5.809 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.428e-05/0.1217, allocations: 9.719 kB / 0.5826 GB, free: 5.793 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 7.791e-05/0.1218, allocations: 318.8 kB / 0.5829 GB, free: 5.473 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.372e-05/0.1219, allocations: 15.98 kB / 0.5829 GB, free: 5.457 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.578e-05/0.122, allocations: 19.98 kB / 0.5829 GB, free: 5.438 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.1221, allocations: 44.88 kB / 0.5829 GB, free: 5.391 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.285e-06/0.1221, allocations: 7.938 kB / 0.5829 GB, free: 5.383 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001688/0.1223, allocations: 69.59 kB / 0.583 GB, free: 5.309 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.021e-05/0.1223, allocations: 4 kB / 0.583 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.256e-06/0.1223, allocations: 0 / 0.583 GB, free: 5.305 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.947e-06/0.1223, allocations: 4 kB / 0.583 GB, free: 5.301 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.198e-05/0.1224, allocations: 11.97 kB / 0.583 GB, free: 5.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.327e-06/0.1224, allocations: 4.031 kB / 0.583 GB, free: 5.285 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.039e-05/0.1225, allocations: 4 kB / 0.583 GB, free: 5.281 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.1225, allocations: 0 / 0.583 GB, free: 5.281 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 5.996e-05/0.1225, allocations: 122.4 kB / 0.5832 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.128e-05/0.1226, allocations: 0 / 0.5832 GB, free: 5.152 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001942/0.1228, allocations: 81.38 kB / 0.5832 GB, free: 5.066 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.1228, allocations: 4.031 kB / 0.5832 GB, free: 5.062 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.1228, allocations: 4 kB / 0.5832 GB, free: 5.059 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.1228, allocations: 3.938 kB / 0.5832 GB, free: 5.055 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.1229, allocations: 165.6 kB / 0.5834 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.1229, allocations: 0 / 0.5834 GB, free: 4.844 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.641e-05/0.123, allocations: 7.984 kB / 0.5834 GB, free: 4.836 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.313e-06/0.123, allocations: 3.938 kB / 0.5834 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.56e-06/0.123, allocations: 0 / 0.5834 GB, free: 4.832 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.123, allocations: 4 kB / 0.5834 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.123, allocations: 0 / 0.5834 GB, free: 4.828 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001978/0.1232, allocations: 171.4 kB / 0.5836 GB, free: 4.645 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.732e-05/0.1233, allocations: 81.11 kB / 0.5837 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.768e-06/0.1233, allocations: 0 / 0.5837 GB, free: 4.547 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.84e-05/0.1233, allocations: 7.984 kB / 0.5837 GB, free: 4.539 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.336e-05/0.1234, allocations: 3.938 kB / 0.5837 GB, free: 4.535 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.1234, allocations: 0 / 0.5837 GB, free: 4.535 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.387e-05/0.1234, allocations: 95.3 kB / 0.5838 GB, free: 4.441 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1234, allocations: 0 / 0.5838 GB, free: 4.441 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002005/0.1236, allocations: 8 kB / 0.5838 GB, free: 4.434 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.0004087/0.124, allocations: 0.6968 MB / 0.5845 GB, free: 3.707 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000165/0.1242, allocations: 39.95 kB / 0.5845 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.1242, allocations: 0 / 0.5845 GB, free: 3.668 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.621e-05/0.1243, allocations: 23.92 kB / 0.5845 GB, free: 3.645 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.1245, allocations: 4 kB / 0.5845 GB, free: 3.641 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003211/0.1249, allocations: 161 kB / 0.5847 GB, free: 3.445 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001683/0.125, allocations: 0.6848 MB / 0.5853 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.821e-05/0.1251, allocations: 0 / 0.5853 GB, free: 2.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.23e-05/0.1251, allocations: 7.438 kB / 0.5853 GB, free: 2.727 MB / 494.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1251, allocations: 0 / 0.5853 GB, free: 2.727 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.63/1.755, allocations: 1.23 MB / 0.5865 GB, free: 1.594 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001962/1.755, allocations: 175 kB / 0.5867 GB, free: 1.34 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2/3.755, allocations: 0 / 0.5867 GB, free: 1.34 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)