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.0008543/0.0008542, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.005482/0.005482, allocations: 170.5 kB / 16.27 MB, free: 6.648 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.332/1.332, allocations: 223.3 MB / 240.3 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7553/0.7553, allocations: 132.3 MB / 423.8 MB, free: 1.953 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004095/0.0004095, allocations: 12 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3418/0.3423, allocations: 81.57 MB / 0.5837 GB, free: 4.055 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.001125/0.3434, allocations: 1.155 MB / 0.5849 GB, free: 3.211 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002381/0.3437, allocations: 99.8 kB / 0.585 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.673e-05/0.3437, allocations: 1.469 kB / 0.585 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.777e-05/0.3437, allocations: 0.6562 kB / 0.585 GB, free: 3.141 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.684e-05/0.3438, allocations: 7.922 kB / 0.585 GB, free: 3.137 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001535/0.3439, allocations: 16.52 kB / 0.585 GB, free: 3.129 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.005e-05/0.344, allocations: 24.42 kB / 0.585 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.441e-05/0.3441, allocations: 4.312 kB / 0.585 GB, free: 3.117 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.3441, allocations: 9.281 kB / 0.585 GB, free: 3.113 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.344e-05/0.3441, allocations: 10.11 kB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 9.859e-06/0.3441, allocations: 3.531 kB / 0.585 GB, free: 3.109 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.179e-05/0.3442, allocations: 17.91 kB / 0.5851 GB, free: 3.105 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.994e-05/0.3443, allocations: 10.73 kB / 0.5851 GB, free: 3.098 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.364e-05/0.3443, allocations: 32.36 kB / 0.5851 GB, free: 3.062 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.811e-05/0.3444, allocations: 35.31 kB / 0.5851 GB, free: 3.051 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.806e-06/0.3444, allocations: 0 / 0.5851 GB, free: 3.051 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.3444, allocations: 0.5625 kB / 0.5851 GB, free: 3.051 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.025e-06/0.3444, allocations: 0 / 0.5851 GB, free: 3.051 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002801/0.3447, allocations: 352.2 kB / 0.5855 GB, free: 2.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.306e-05/0.3447, allocations: 9.938 kB / 0.5855 GB, free: 2.684 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.19e-05/0.3448, allocations: 32.06 kB / 0.5855 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.691e-05/0.3448, allocations: 2.516 kB / 0.5855 GB, free: 2.645 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.003e-05/0.3448, allocations: 174.8 kB / 0.5857 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.808e-06/0.3449, allocations: 1.578 kB / 0.5857 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.354e-06/0.3449, allocations: 2.312 kB / 0.5857 GB, free: 2.438 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001546/0.345, allocations: 59.8 kB / 0.5857 GB, free: 2.398 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.791e-06/0.345, allocations: 3.938 kB / 0.5857 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.863e-06/0.3451, allocations: 0.7031 kB / 0.5857 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.3451, allocations: 1.281 kB / 0.5858 GB, free: 2.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001747/0.3452, allocations: 53.19 kB / 0.5858 GB, free: 2.383 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000213/0.3455, allocations: 251.6 kB / 0.586 GB, free: 2.109 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001177/0.3456, allocations: 48.69 kB / 0.5861 GB, free: 2.078 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.843e-05/0.3457, allocations: 30.89 kB / 0.5861 GB, free: 2.066 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.791e-05/0.3457, allocations: 6.422 kB / 0.5861 GB, free: 2.062 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.576e-05/0.3458, allocations: 32.39 kB / 0.5862 GB, free: 2.023 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.3458, allocations: 0 / 0.5862 GB, free: 2.023 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003389/0.3461, allocations: 108.4 kB / 0.5863 GB, free: 1.977 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.965e-05/0.3461, allocations: 51.41 kB / 0.5863 GB, free: 1.914 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.111e-05/0.3462, allocations: 104.9 kB / 0.5864 GB, free: 1.812 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.113e-06/0.3462, allocations: 35.94 kB / 0.5864 GB, free: 1.773 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.142e-05/0.3462, allocations: 89.83 kB / 0.5865 GB, free: 1.684 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.201e-05/0.3462, allocations: 1.031 kB / 0.5865 GB, free: 1.684 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.827e-05/0.3463, allocations: 18.45 kB / 0.5865 GB, free: 1.66 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.202e-05/0.3463, allocations: 313.2 kB / 0.5868 GB, free: 1.348 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.54e-05/0.3464, allocations: 20.38 kB / 0.5869 GB, free: 1.348 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.752e-05/0.3465, allocations: 28.95 kB / 0.5869 GB, free: 1.34 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001587/0.3466, allocations: 50.33 kB / 0.5869 GB, free: 1.328 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3467, allocations: 4.875 kB / 0.5869 GB, free: 1.324 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000194/0.3468, allocations: 92.7 kB / 0.587 GB, free: 1.273 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.047e-05/0.3469, allocations: 4.75 kB / 0.587 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.3469, allocations: 0.8594 kB / 0.587 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.086e-05/0.3469, allocations: 0.9375 kB / 0.587 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.119e-05/0.347, allocations: 19.84 kB / 0.5871 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.347, allocations: 0 / 0.5871 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.648e-05/0.347, allocations: 8.297 kB / 0.5871 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.218e-06/0.347, allocations: 0.7812 kB / 0.5871 GB, free: 1.266 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 (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 4.362e-05/0.3471, allocations: 115.8 kB / 0.5872 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.156e-05/0.3471, allocations: 0.9688 kB / 0.5872 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000223/0.3474, allocations: 97.83 kB / 0.5873 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.813e-06/0.3474, allocations: 0.75 kB / 0.5873 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.3474, allocations: 1.031 kB / 0.5873 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.225e-06/0.3474, allocations: 0 / 0.5873 GB, free: 1.094 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001051/0.3475, allocations: 163.2 kB / 0.5874 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3475, allocations: 0 / 0.5874 GB, free: 0.8984 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.619e-05/0.3476, allocations: 15.83 kB / 0.5874 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.3476, allocations: 0.6562 kB / 0.5874 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.32e-06/0.3476, allocations: 1.062 kB / 0.5874 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3476, allocations: 0 / 0.5874 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.3476, allocations: 1.406 kB / 0.5874 GB, free: 0.8945 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002022/0.3478, allocations: 187.5 kB / 0.5876 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.3478, allocations: 83.39 kB / 0.5877 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.068e-05/0.3478, allocations: 1.281 kB / 0.5877 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.189e-05/0.3479, allocations: 11.8 kB / 0.5877 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.638e-05/0.3479, allocations: 2.625 kB / 0.5877 GB, free: 0.6406 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.715e-06/0.3479, allocations: 5.312 kB / 0.5877 GB, free: 0.6367 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.427e-05/0.348, allocations: 82.69 kB / 0.5878 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.348, allocations: 0 / 0.5878 GB, free: 0.5625 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002123/0.3482, allocations: 12.08 kB / 0.5878 GB, free: 0.5586 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 (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.0003851/0.3486, allocations: 0.7091 MB / 0.5885 GB, free: 15.89 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002053/0.3488, allocations: 56.3 kB / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.3488, allocations: 0 / 0.5886 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.15e-05/0.3489, allocations: 27.11 kB / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/0.3491, allocations: 6.5 kB / 0.5886 GB, free: 15.87 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003377/0.3495, allocations: 158.5 kB / 0.5887 GB, free: 15.71 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001742/0.3497, allocations: 0.6785 MB / 0.5894 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.3497, allocations: 2.156 kB / 0.5894 GB, free: 15.01 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.514e-05/0.3497, allocations: 12.19 kB / 0.5894 GB, free: 15 MB / 446.1 MB Notification: Performance of SimCode: time 3.2e-07/0.3497, allocations: 1.344 kB / 0.5894 GB, free: 15 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1353/0.4851, allocations: 1.148 MB / 0.5905 GB, free: 14.84 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002017/0.4853, allocations: 181.7 kB / 0.5907 GB, free: 14.59 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.731/2.216, allocations: 0 / 0.5907 GB, free: 14.59 MB / 446.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)