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.001909/0.001909, allocations: 108 kB / 15.6 MB, free: 132 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.001295/0.001295, allocations: 196 kB / 16.53 MB, free: 6.391 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.308/1.308, 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.729/0.729, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001174/0.001174, allocations: 68.73 kB / 0.5019 GB, free: 3.754 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3544, allocations: 80.19 MB / 0.5802 GB, free: 4.566 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.Polynomial): time 0.002207/0.3566, allocations: 1.43 MB / 0.5816 GB, free: 3.57 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002528/0.3569, allocations: 99.3 kB / 0.5817 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.296e-05/0.3569, allocations: 0 / 0.5817 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 4.808e-05/0.357, allocations: 1.422 kB / 0.5817 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 2.898e-05/0.357, allocations: 6.266 kB / 0.5817 GB, free: 3.496 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001955/0.3572, allocations: 18.41 kB / 0.5817 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.207e-05/0.3573, allocations: 24.66 kB / 0.5817 GB, free: 3.477 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.821e-05/0.3574, allocations: 8.656 kB / 0.5817 GB, free: 3.473 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.429e-05/0.3574, allocations: 9.812 kB / 0.5817 GB, free: 3.469 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.521e-05/0.3574, allocations: 21.39 kB / 0.5818 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.146e-05/0.3575, allocations: 2.094 kB / 0.5818 GB, free: 3.453 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.247e-05/0.3576, allocations: 18.81 kB / 0.5818 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.16e-05/0.3576, allocations: 2.25 kB / 0.5818 GB, free: 3.449 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.216e-05/0.3576, allocations: 11.25 kB / 0.5818 GB, free: 3.441 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.3577, allocations: 34.83 kB / 0.5818 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.106e-06/0.3577, allocations: 0 / 0.5818 GB, free: 3.43 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.212e-06/0.3577, allocations: 0.9062 kB / 0.5818 GB, free: 3.43 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.428e-06/0.3577, allocations: 0 / 0.5818 GB, free: 3.43 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.000328/0.3581, allocations: 348.9 kB / 0.5822 GB, free: 3.062 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.279e-05/0.3581, allocations: 10.11 kB / 0.5822 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.122e-05/0.3581, allocations: 31.59 kB / 0.5822 GB, free: 3.023 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.3e-05/0.3582, allocations: 7.328 kB / 0.5822 GB, free: 3.02 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.439e-05/0.3582, allocations: 171.5 kB / 0.5824 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.3583, allocations: 9.219 kB / 0.5824 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.913e-06/0.3583, allocations: 1.219 kB / 0.5824 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001571/0.3584, allocations: 59.86 kB / 0.5824 GB, free: 2.766 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.394e-06/0.3584, allocations: 3.938 kB / 0.5824 GB, free: 2.762 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.895e-06/0.3585, allocations: 5.469 kB / 0.5824 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.3585, allocations: 0 / 0.5824 GB, free: 2.758 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001688/0.3586, allocations: 35.52 kB / 0.5825 GB, free: 2.754 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002351/0.3589, allocations: 248.6 kB / 0.5827 GB, free: 2.484 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001231/0.359, allocations: 51.67 kB / 0.5828 GB, free: 2.445 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.108e-05/0.3591, allocations: 25.19 kB / 0.5828 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.3592, allocations: 2.656 kB / 0.5828 GB, free: 2.434 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.706e-05/0.3592, allocations: 35.78 kB / 0.5828 GB, free: 2.391 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3592, allocations: 1.031 kB / 0.5828 GB, free: 2.391 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003468/0.3595, allocations: 92.2 kB / 0.5829 GB, free: 2.344 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.303e-05/0.3596, allocations: 57.31 kB / 0.583 GB, free: 2.277 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.494e-05/0.3596, allocations: 105.2 kB / 0.5831 GB, free: 2.176 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.981e-06/0.3596, allocations: 25.7 kB / 0.5831 GB, free: 2.145 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.395e-05/0.3597, allocations: 90.66 kB / 0.5832 GB, free: 2.055 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.465e-05/0.3597, allocations: 5.203 kB / 0.5832 GB, free: 2.051 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.705e-05/0.3597, allocations: 17.41 kB / 0.5832 GB, free: 2.031 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.575e-05/0.3598, allocations: 313.3 kB / 0.5835 GB, free: 1.719 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.645e-05/0.3599, allocations: 23.56 kB / 0.5835 GB, free: 1.711 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.648e-05/0.3599, allocations: 16 kB / 0.5835 GB, free: 1.711 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.3601, allocations: 40.11 kB / 0.5836 GB, free: 1.699 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.3601, allocations: 3.938 kB / 0.5836 GB, free: 1.695 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001916/0.3603, allocations: 75.16 kB / 0.5837 GB, free: 1.652 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.3603, allocations: 9.422 kB / 0.5837 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3603, allocations: 1.156 kB / 0.5837 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/0.3603, allocations: 0 / 0.5837 GB, free: 1.648 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.528e-05/0.3604, allocations: 13.84 kB / 0.5837 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.288e-06/0.3605, allocations: 0 / 0.5837 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.787e-05/0.3605, allocations: 6.391 kB / 0.5837 GB, free: 1.645 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.861e-06/0.3605, allocations: 1.703 kB / 0.5837 GB, free: 1.645 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.611e-05/0.3606, allocations: 118 kB / 0.5838 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.433e-05/0.3606, allocations: 1.656 kB / 0.5838 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.3608, allocations: 76.03 kB / 0.5839 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3608, allocations: 0.8438 kB / 0.5839 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.3608, allocations: 0 / 0.5839 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.895e-06/0.3608, allocations: 1.531 kB / 0.5839 GB, free: 1.48 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001112/0.361, allocations: 162.3 kB / 0.584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.361, allocations: 0.6562 kB / 0.584 GB, free: 1.285 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.78e-05/0.361, allocations: 16.38 kB / 0.584 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.361, allocations: 1.422 kB / 0.584 GB, free: 1.277 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.112e-06/0.3611, allocations: 4 kB / 0.5841 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.3611, allocations: 0.75 kB / 0.5841 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3611, allocations: 5.938 kB / 0.5841 GB, free: 1.27 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000202/0.3613, allocations: 172.5 kB / 0.5842 GB, free: 1.125 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.605e-05/0.3613, allocations: 81.89 kB / 0.5843 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.35e-05/0.3613, allocations: 1.641 kB / 0.5843 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.359e-05/0.3614, allocations: 9.078 kB / 0.5843 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.733e-05/0.3614, allocations: 3.156 kB / 0.5843 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.076e-06/0.3614, allocations: 1 kB / 0.5843 GB, free: 1.023 MB / 430.1 MB Notification: Performance of sorting global known variables: time 2.644e-05/0.3615, allocations: 82.78 kB / 0.5844 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3615, allocations: 0.9688 kB / 0.5844 GB, free: 0.9492 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002191/0.3617, allocations: 11.81 kB / 0.5844 GB, free: 0.9453 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.0003901/0.3621, allocations: 0.703 MB / 0.5851 GB, free: 276 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002195/0.3623, allocations: 43.66 kB / 0.5851 GB, free: 268 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.3623, allocations: 3.938 kB / 0.5851 GB, free: 264 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.955e-05/0.3624, allocations: 25.69 kB / 0.5852 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002444/0.3627, allocations: 2.578 kB / 0.5852 GB, free: 256 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003634/0.363, allocations: 151 kB / 0.5853 GB, free: 96 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002507/0.3633, allocations: 0.6856 MB / 0.586 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.15e-05/0.3633, allocations: 6.125 kB / 0.586 GB, free: 15.39 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.477e-05/0.3634, allocations: 9.078 kB / 0.586 GB, free: 15.38 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3634, allocations: 0 / 0.586 GB, free: 15.38 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.196/0.5594, allocations: 1.376 MB / 0.5873 GB, free: 15.03 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/7.977, allocations: 2.641 kB / 0.5873 GB, free: 15.03 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)