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.001388/0.001388, allocations: 100.2 kB / 15.05 MB, free: 1.105 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.001722/0.001722, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.279/2.279, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.441/1.441, allocations: 135.2 MB / 426.2 MB, free: 14.22 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005536/0.0005537, allocations: 8 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2327/0.2333, allocations: 82.31 MB / 0.5873 GB, free: 3.016 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.0008625/0.2342, allocations: 307.1 kB / 0.5876 GB, free: 2.711 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002376/0.2345, allocations: 24 kB / 0.5876 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.156e-05/0.2345, allocations: 0 / 0.5876 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.101e-05/0.2345, allocations: 0 / 0.5876 GB, free: 2.688 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.801e-06/0.2345, allocations: 4 kB / 0.5876 GB, free: 2.684 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002511/0.2348, allocations: 15.91 kB / 0.5876 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.919e-05/0.2349, allocations: 0 / 0.5876 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.2349, allocations: 0 / 0.5876 GB, free: 2.668 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.085e-05/0.2349, allocations: 11.94 kB / 0.5876 GB, free: 2.656 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.437e-05/0.235, allocations: 7.922 kB / 0.5876 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.225e-06/0.235, allocations: 0 / 0.5876 GB, free: 2.648 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.538e-05/0.2351, allocations: 11.98 kB / 0.5877 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.682e-06/0.2351, allocations: 0 / 0.5877 GB, free: 2.637 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.692e-05/0.2351, allocations: 29.7 kB / 0.5877 GB, free: 2.602 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 5.801e-05/0.2352, allocations: 7.984 kB / 0.5877 GB, free: 2.594 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.006e-06/0.2352, allocations: 4 kB / 0.5877 GB, free: 2.59 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.884e-06/0.2352, allocations: 0 / 0.5877 GB, free: 2.59 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.841e-06/0.2352, allocations: 0 / 0.5877 GB, free: 2.59 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.0003041/0.2355, allocations: 307.4 kB / 0.588 GB, free: 2.242 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.2356, allocations: 8.094 kB / 0.588 GB, free: 2.234 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.005e-05/0.2356, allocations: 34.56 kB / 0.588 GB, free: 2.191 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.2357, allocations: 3.984 kB / 0.588 GB, free: 2.188 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000114/0.2358, allocations: 171 kB / 0.5882 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.015e-05/0.2358, allocations: 0 / 0.5882 GB, free: 1.98 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.578e-06/0.2358, allocations: 4 kB / 0.5882 GB, free: 1.977 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001043/0.2359, allocations: 29.7 kB / 0.5882 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-06/0.2359, allocations: 0 / 0.5882 GB, free: 1.941 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.161e-05/0.236, allocations: 8 kB / 0.5882 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/0.236, allocations: 0 / 0.5882 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.98e-05/0.236, allocations: 0 / 0.5882 GB, free: 1.934 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001495/0.2361, allocations: 153.7 kB / 0.5884 GB, free: 1.734 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.778e-05/0.2362, allocations: 18.52 kB / 0.5884 GB, free: 1.707 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.656e-05/0.2362, allocations: 4 kB / 0.5884 GB, free: 1.703 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.592e-05/0.2363, allocations: 34.62 kB / 0.5884 GB, free: 1.66 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.223e-06/0.2363, allocations: 0 / 0.5884 GB, free: 1.66 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001197/0.2364, allocations: 33.7 kB / 0.5885 GB, free: 1.621 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.2364, allocations: 51.41 kB / 0.5885 GB, free: 1.559 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.353e-05/0.2365, allocations: 93.84 kB / 0.5886 GB, free: 1.457 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.396e-05/0.2365, allocations: 25.7 kB / 0.5886 GB, free: 1.426 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.088e-05/0.2365, allocations: 84.27 kB / 0.5887 GB, free: 1.34 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.2366, allocations: 7.906 kB / 0.5887 GB, free: 1.332 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.2366, allocations: 3.938 kB / 0.5887 GB, free: 1.328 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001259/0.2367, allocations: 310.8 kB / 0.589 GB, free: 1.016 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.836e-06/0.2367, allocations: 3.938 kB / 0.589 GB, free: 1.012 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.969e-06/0.2367, allocations: 0 / 0.589 GB, free: 1.012 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.641e-05/0.2368, allocations: 8 kB / 0.589 GB, free: 1.004 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.2368, allocations: 0 / 0.589 GB, free: 1.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.506e-05/0.2368, allocations: 33.72 kB / 0.5891 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.2369, allocations: 16.02 kB / 0.5891 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.2369, allocations: 0 / 0.5891 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.2369, allocations: 3.938 kB / 0.5891 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.2369, allocations: 0 / 0.5891 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.711e-06/0.237, allocations: 0 / 0.5891 GB, free: 0.9453 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.281e-05/0.237, allocations: 4 kB / 0.5891 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.534e-05/0.237, allocations: 0 / 0.5891 GB, free: 0.9414 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.49e-05/0.2371, allocations: 107.6 kB / 0.5892 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.635e-06/0.2371, allocations: 3.953 kB / 0.5892 GB, free: 0.8242 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001128/0.2372, allocations: 52.75 kB / 0.5892 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2372, allocations: 0 / 0.5892 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.2372, allocations: 0 / 0.5892 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.2372, allocations: 0 / 0.5892 GB, free: 0.7656 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001066/0.2373, allocations: 149.7 kB / 0.5894 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.2373, allocations: 4 kB / 0.5894 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.601e-05/0.2374, allocations: 0 / 0.5894 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.186e-06/0.2374, allocations: 7.984 kB / 0.5894 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.73e-06/0.2374, allocations: 0 / 0.5894 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.2374, allocations: 0 / 0.5894 GB, free: 0.5586 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/0.2374, allocations: 4 kB / 0.5894 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.018e-05/0.2375, allocations: 61.08 kB / 0.5895 GB, free: 488 kB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.325e-05/0.2375, allocations: 81.09 kB / 0.5895 GB, free: 388 kB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.2375, allocations: 7.953 kB / 0.5895 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.136e-05/0.2376, allocations: 0 / 0.5895 GB, free: 380 kB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.045e-05/0.2376, allocations: 4.031 kB / 0.5895 GB, free: 376 kB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.266e-06/0.2376, allocations: 0 / 0.5895 GB, free: 376 kB / 494.1 MB Notification: Performance of sorting global known variables: time 3.624e-05/0.2376, allocations: 75.28 kB / 0.5896 GB, free: 300 kB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.2376, allocations: 0 / 0.5896 GB, free: 300 kB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002039/0.2378, allocations: 8 kB / 0.5896 GB, free: 292 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 (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004576/0.2383, allocations: 0.601 MB / 0.5902 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.668e-05/0.2384, allocations: 7.938 kB / 0.5902 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.2384, allocations: 0 / 0.5902 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 1.215e-05/0.2384, allocations: 8 kB / 0.5902 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001062/0.2385, allocations: 3.953 kB / 0.5902 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.2389, allocations: 108.3 kB / 0.5903 GB, free: 15.49 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003048/0.2392, allocations: 0.6731 MB / 0.591 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 3.125e-05/0.2392, allocations: 12.12 kB / 0.591 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.467e-05/0.2392, allocations: 7.438 kB / 0.591 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of SimCode: time 3.71e-07/0.2392, allocations: 0 / 0.591 GB, free: 14.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01678/0.256, allocations: 0.8129 MB / 0.5918 GB, free: 14.1 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002383/0.2563, allocations: 182.5 kB / 0.592 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.521/2.777, allocations: 0 / 0.592 GB, free: 13.85 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/linux/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) Environment - environmentSimulation: