Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.Polynomial,fileNamePrefix="IDEAS_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.00112/0.00112, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 191.8 kB / 16.53 MB, free: 6.664 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.331/1.331, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7436/0.7436, allocations: 132.2 MB / 422.6 MB, free: 1.82 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001218/0.001218, allocations: 60.44 kB / 0.5019 GB, free: 3.77 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3449/0.3462, allocations: 80.2 MB / 0.5802 GB, free: 4.449 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001883/0.3481, allocations: 0.5746 MB / 0.5808 GB, free: 4.086 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002094/0.3483, allocations: 31.62 kB / 0.5808 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.556e-05/0.3484, allocations: 0.875 kB / 0.5808 GB, free: 4.066 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.173e-05/0.3484, allocations: 3.938 kB / 0.5808 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.749e-06/0.3484, allocations: 0 / 0.5808 GB, free: 4.062 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002378/0.3486, allocations: 13.56 kB / 0.5808 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.608e-05/0.3487, allocations: 2.562 kB / 0.5808 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.796e-05/0.3487, allocations: 6.016 kB / 0.5808 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.271e-05/0.3487, allocations: 0.5625 kB / 0.5808 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.953e-05/0.3488, allocations: 0.875 kB / 0.5808 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.215e-06/0.3488, allocations: 0.8125 kB / 0.5808 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.782e-05/0.3489, allocations: 17.66 kB / 0.5808 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.306e-06/0.3489, allocations: 3.984 kB / 0.5808 GB, free: 4.047 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.3489, allocations: 3.938 kB / 0.5809 GB, free: 4.043 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.02e-05/0.349, allocations: 19.64 kB / 0.5809 GB, free: 4.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.349, allocations: 0.8125 kB / 0.5809 GB, free: 4.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.282e-06/0.349, allocations: 0 / 0.5809 GB, free: 4.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.035e-06/0.349, allocations: 5.156 kB / 0.5809 GB, free: 4.031 MB / 430.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.0002173/0.3493, allocations: 313.6 kB / 0.5812 GB, free: 3.68 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.669e-05/0.3493, allocations: 13.59 kB / 0.5812 GB, free: 3.676 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.109e-05/0.3493, allocations: 36.58 kB / 0.5812 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.952e-05/0.3494, allocations: 0.9375 kB / 0.5812 GB, free: 3.633 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.123e-05/0.3494, allocations: 161.1 kB / 0.5814 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.999e-06/0.3494, allocations: 1.375 kB / 0.5814 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.387e-06/0.3494, allocations: 6 kB / 0.5814 GB, free: 3.434 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.599e-05/0.3495, allocations: 29.45 kB / 0.5814 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.113e-06/0.3495, allocations: 7.938 kB / 0.5814 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.951e-06/0.3495, allocations: 0.7188 kB / 0.5814 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.817e-06/0.3495, allocations: 0 / 0.5814 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.015e-05/0.3496, allocations: 7 kB / 0.5814 GB, free: 3.391 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.284e-05/0.3497, allocations: 148.2 kB / 0.5816 GB, free: 3.199 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.04e-05/0.3497, allocations: 20.62 kB / 0.5816 GB, free: 3.172 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.516e-05/0.3497, allocations: 7.156 kB / 0.5816 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.009e-05/0.3498, allocations: 1.469 kB / 0.5816 GB, free: 3.164 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.188e-05/0.3498, allocations: 36.05 kB / 0.5816 GB, free: 3.121 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.3498, allocations: 0 / 0.5816 GB, free: 3.121 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001011/0.3499, allocations: 40.59 kB / 0.5817 GB, free: 3.082 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.778e-05/0.3499, allocations: 52.7 kB / 0.5817 GB, free: 3.02 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.371e-05/0.3499, allocations: 94.39 kB / 0.5818 GB, free: 2.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.951e-06/0.3499, allocations: 26.36 kB / 0.5818 GB, free: 2.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.176e-06/0.3499, allocations: 80.14 kB / 0.5819 GB, free: 2.805 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.343e-05/0.35, allocations: 9.375 kB / 0.5819 GB, free: 2.797 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.189e-05/0.35, allocations: 15.78 kB / 0.5819 GB, free: 2.777 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.39e-05/0.3501, allocations: 312.3 kB / 0.5822 GB, free: 2.465 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.3501, allocations: 1.812 kB / 0.5822 GB, free: 2.465 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.3501, allocations: 1.469 kB / 0.5822 GB, free: 2.465 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.469e-05/0.3501, allocations: 12.69 kB / 0.5822 GB, free: 2.453 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.303e-06/0.3501, allocations: 0 / 0.5822 GB, free: 2.453 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.608e-05/0.3502, allocations: 41.66 kB / 0.5823 GB, free: 2.414 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.3502, allocations: 4.875 kB / 0.5823 GB, free: 2.414 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.3502, allocations: 5.094 kB / 0.5823 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.011e-05/0.3502, allocations: 0 / 0.5823 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.082e-05/0.3503, allocations: 3.219 kB / 0.5823 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.289e-06/0.3503, allocations: 0 / 0.5823 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.285e-05/0.3503, allocations: 1.516 kB / 0.5823 GB, free: 2.41 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.355e-05/0.3503, allocations: 5.328 kB / 0.5823 GB, free: 2.406 MB / 430.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.626e-05/0.3504, allocations: 107.7 kB / 0.5824 GB, free: 2.293 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.302e-06/0.3504, allocations: 4.031 kB / 0.5824 GB, free: 2.289 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.44e-05/0.3505, allocations: 49.78 kB / 0.5825 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.343e-06/0.3505, allocations: 1.375 kB / 0.5825 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3505, allocations: 0.5625 kB / 0.5825 GB, free: 2.242 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3505, allocations: 3.938 kB / 0.5825 GB, free: 2.238 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.666e-05/0.3506, allocations: 144.9 kB / 0.5826 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.3506, allocations: 0 / 0.5826 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.618e-05/0.3506, allocations: 3.547 kB / 0.5826 GB, free: 2.051 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3506, allocations: 4.031 kB / 0.5826 GB, free: 2.047 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-06/0.3506, allocations: 6.016 kB / 0.5826 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.3506, allocations: 0 / 0.5826 GB, free: 2.043 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.212e-06/0.3506, allocations: 4 kB / 0.5826 GB, free: 2.039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.142e-05/0.3507, allocations: 58.48 kB / 0.5827 GB, free: 1.973 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.537e-05/0.3507, allocations: 78.84 kB / 0.5828 GB, free: 1.879 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.224e-05/0.3507, allocations: 5.062 kB / 0.5828 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.133e-05/0.3507, allocations: 4.547 kB / 0.5828 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.657e-05/0.3508, allocations: 2.016 kB / 0.5828 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.3508, allocations: 4.844 kB / 0.5828 GB, free: 1.867 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.186e-05/0.3508, allocations: 75.28 kB / 0.5828 GB, free: 1.793 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.3508, allocations: 0 / 0.5828 GB, free: 1.793 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002008/0.351, allocations: 5.406 kB / 0.5828 GB, free: 1.793 MB / 430.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 (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.0002696/0.3513, allocations: 0.6061 MB / 0.5834 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.616e-05/0.3513, allocations: 3.781 kB / 0.5834 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.3514, allocations: 0 / 0.5834 GB, free: 1.191 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.202e-05/0.3514, allocations: 11.88 kB / 0.5835 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001258/0.3515, allocations: 2.906 kB / 0.5835 GB, free: 1.184 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002575/0.3518, allocations: 107.8 kB / 0.5836 GB, free: 1.051 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000106/0.3519, allocations: 0.6751 MB / 0.5842 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: alias equations: time 2.614e-05/0.3519, allocations: 2.516 kB / 0.5842 GB, free: 360 kB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.061e-05/0.3519, allocations: 9.422 kB / 0.5842 GB, free: 352 kB / 430.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3519, allocations: 0 / 0.5842 GB, free: 352 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01406/0.366, allocations: 0.9743 MB / 0.5852 GB, free: 16 kB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.385/7.751, allocations: 11.52 kB / 0.5852 GB, free: 12 kB / 430.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_Polynomial.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1)