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.005225/0.005225, allocations: 101.2 kB / 15.73 MB, free: 6.043 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.001098/0.001098, allocations: 186.2 kB / 16.67 MB, free: 5.973 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.328/1.328, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9466/0.9466, allocations: 135.1 MB / 425.7 MB, free: 12.04 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 67.88 kB / 0.5852 GB, free: 3.797 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4229/0.4243, allocations: 80.92 MB / 0.6642 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001784/0.4261, allocations: 0.5712 MB / 0.6648 GB, free: 6.859 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002389/0.4264, allocations: 41.88 kB / 0.6648 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.442e-05/0.4264, allocations: 3.969 kB / 0.6648 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.4264, allocations: 0 / 0.6648 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.751e-06/0.4265, allocations: 0 / 0.6648 GB, free: 6.828 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003001/0.4268, allocations: 11.73 kB / 0.6648 GB, free: 6.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.676e-05/0.4268, allocations: 5.484 kB / 0.6648 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.295e-05/0.4269, allocations: 1.438 kB / 0.6648 GB, free: 6.816 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.599e-05/0.4269, allocations: 4 kB / 0.6648 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 4.173e-05/0.427, allocations: 1.562 kB / 0.6648 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.427, allocations: 0 / 0.6648 GB, free: 6.812 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 9.506e-05/0.4271, allocations: 20.45 kB / 0.6648 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 9.438e-06/0.4271, allocations: 0 / 0.6648 GB, free: 6.801 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.808e-05/0.4271, allocations: 4 kB / 0.6649 GB, free: 6.797 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 9.587e-05/0.4272, allocations: 14.72 kB / 0.6649 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.3e-06/0.4272, allocations: 0 / 0.6649 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.923e-06/0.4272, allocations: 1.562 kB / 0.6649 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.381e-06/0.4272, allocations: 0 / 0.6649 GB, free: 6.789 MB / 0.4981 GB 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.0002769/0.4275, allocations: 319.9 kB / 0.6652 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.781e-05/0.4276, allocations: 8.406 kB / 0.6652 GB, free: 6.43 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.4276, allocations: 31.88 kB / 0.6652 GB, free: 6.391 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.226e-05/0.4276, allocations: 8.859 kB / 0.6652 GB, free: 6.383 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.918e-05/0.4277, allocations: 160.4 kB / 0.6654 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.291e-05/0.4277, allocations: 1.625 kB / 0.6654 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.715e-06/0.4277, allocations: 384 / 0.6654 GB, free: 6.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.752e-05/0.4278, allocations: 33.11 kB / 0.6654 GB, free: 6.152 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.578e-06/0.4278, allocations: 3.938 kB / 0.6654 GB, free: 6.148 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.655e-06/0.4279, allocations: 4 kB / 0.6654 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.4279, allocations: 1.312 kB / 0.6654 GB, free: 6.145 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.04e-05/0.4279, allocations: 5.062 kB / 0.6654 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001106/0.428, allocations: 150.9 kB / 0.6656 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.527e-05/0.428, allocations: 20.8 kB / 0.6656 GB, free: 5.918 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.484e-05/0.4281, allocations: 6.078 kB / 0.6656 GB, free: 5.91 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.928e-05/0.4281, allocations: 5.516 kB / 0.6656 GB, free: 5.906 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.835e-05/0.4281, allocations: 35.75 kB / 0.6656 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.4281, allocations: 0 / 0.6656 GB, free: 5.863 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001282/0.4283, allocations: 42.72 kB / 0.6657 GB, free: 5.82 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.4283, allocations: 56.44 kB / 0.6657 GB, free: 5.754 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.735e-05/0.4283, allocations: 89.86 kB / 0.6658 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 8.567e-06/0.4283, allocations: 26.73 kB / 0.6658 GB, free: 5.625 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 1.302e-05/0.4284, allocations: 80.14 kB / 0.6659 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.84e-05/0.4284, allocations: 1.188 kB / 0.6659 GB, free: 5.543 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.248e-05/0.4284, allocations: 15.12 kB / 0.6659 GB, free: 5.523 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 4.666e-05/0.4285, allocations: 312.2 kB / 0.6662 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.12e-05/0.4285, allocations: 1.344 kB / 0.6662 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-06/0.4285, allocations: 1.125 kB / 0.6662 GB, free: 5.211 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.811e-05/0.4285, allocations: 14.97 kB / 0.6662 GB, free: 5.195 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.4285, allocations: 5.188 kB / 0.6662 GB, free: 5.191 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.67e-05/0.4286, allocations: 30.77 kB / 0.6663 GB, free: 5.16 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4286, allocations: 9.531 kB / 0.6663 GB, free: 5.156 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.4286, allocations: 3.938 kB / 0.6663 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4286, allocations: 1.25 kB / 0.6663 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.617e-05/0.4287, allocations: 1.219 kB / 0.6663 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.4e-06/0.4287, allocations: 1.188 kB / 0.6663 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.181e-05/0.4287, allocations: 0 / 0.6663 GB, free: 5.152 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.4287, allocations: 1.219 kB / 0.6663 GB, free: 5.152 MB / 0.4981 GB 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 5.223e-05/0.4288, allocations: 111.3 kB / 0.6664 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.794e-06/0.4288, allocations: 5.281 kB / 0.6664 GB, free: 5.031 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.319e-05/0.4289, allocations: 49.83 kB / 0.6665 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.4289, allocations: 1.281 kB / 0.6665 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.4289, allocations: 0 / 0.6665 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.4289, allocations: 3.984 kB / 0.6665 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.215e-05/0.429, allocations: 143 kB / 0.6666 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.429, allocations: 0 / 0.6666 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.498e-05/0.429, allocations: 2.688 kB / 0.6666 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.429, allocations: 0 / 0.6666 GB, free: 4.785 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.734e-06/0.429, allocations: 9.219 kB / 0.6666 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.4291, allocations: 3.984 kB / 0.6666 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.041e-06/0.4291, allocations: 0 / 0.6666 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.549e-05/0.4291, allocations: 64.91 kB / 0.6667 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 1.716e-05/0.4291, allocations: 81.09 kB / 0.6667 GB, free: 4.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.082e-05/0.4292, allocations: 5.156 kB / 0.6668 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.939e-06/0.4292, allocations: 3.938 kB / 0.6668 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.169e-05/0.4292, allocations: 9.031 kB / 0.6668 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.687e-06/0.4292, allocations: 1.375 kB / 0.6668 GB, free: 4.586 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 1.459e-05/0.4292, allocations: 77.95 kB / 0.6668 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.4292, allocations: 0 / 0.6668 GB, free: 4.512 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000202/0.4294, allocations: 9.109 kB / 0.6668 GB, free: 4.508 MB / 0.4981 GB 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.0002774/0.4297, allocations: 0.603 MB / 0.6674 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.99e-05/0.4298, allocations: 8.344 kB / 0.6674 GB, free: 3.898 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.574e-06/0.4298, allocations: 4 kB / 0.6674 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 8.396e-06/0.4298, allocations: 2.875 kB / 0.6675 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001368/0.4299, allocations: 0 / 0.6675 GB, free: 3.895 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002631/0.4302, allocations: 117.5 kB / 0.6676 GB, free: 3.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001101/0.4303, allocations: 0.6701 MB / 0.6682 GB, free: 3.055 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.208e-05/0.4304, allocations: 5.656 kB / 0.6682 GB, free: 3.051 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.817e-05/0.4304, allocations: 9.062 kB / 0.6682 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.4304, allocations: 0 / 0.6682 GB, free: 3.043 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0155/0.4459, allocations: 1.002 MB / 0.6692 GB, free: 2.449 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.262/7.708, allocations: 4.875 kB / 0.6692 GB, free: 2.449 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/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)