Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001257/0.001258, allocations: 189.5 kB / 16.14 MB, free: 6.707 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.372/1.372, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7445/0.7445, allocations: 132.2 MB / 422.1 MB, free: 2.012 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 63.12 kB / 0.5012 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5457/0.5469, allocations: 80.2 MB / 0.5795 GB, free: 4.559 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002452/0.5494, allocations: 0.6427 MB / 0.5801 GB, free: 4.152 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005516/0.55, allocations: 193.8 kB / 0.5803 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.317e-05/0.55, allocations: 0 / 0.5803 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.776e-05/0.5501, allocations: 0.7188 kB / 0.5803 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 6.693e-06/0.5501, allocations: 0 / 0.5803 GB, free: 4.027 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004228/0.5505, allocations: 43.89 kB / 0.5804 GB, free: 4.008 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.384e-05/0.5506, allocations: 4.75 kB / 0.5804 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.5507, allocations: 6.297 kB / 0.5804 GB, free: 4 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.617e-05/0.5507, allocations: 0.625 kB / 0.5804 GB, free: 4 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.524e-05/0.5507, allocations: 0.9062 kB / 0.5804 GB, free: 4 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.875e-06/0.5507, allocations: 0 / 0.5804 GB, free: 4 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002238/0.5509, allocations: 63.02 kB / 0.5804 GB, free: 3.98 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.022e-05/0.551, allocations: 5.125 kB / 0.5804 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.551, allocations: 0.7031 kB / 0.5804 GB, free: 3.977 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001315/0.5511, allocations: 28.05 kB / 0.5805 GB, free: 3.973 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.5511, allocations: 4.625 kB / 0.5805 GB, free: 3.969 MB / 430.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.5512, allocations: 4 kB / 0.5805 GB, free: 3.965 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.058e-06/0.5512, allocations: 0.8438 kB / 0.5805 GB, free: 3.965 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.0002536/0.5514, allocations: 324.9 kB / 0.5808 GB, free: 3.605 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.211e-05/0.5515, allocations: 9.75 kB / 0.5808 GB, free: 3.605 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.361e-05/0.5515, allocations: 31.31 kB / 0.5808 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.66e-05/0.5516, allocations: 2.062 kB / 0.5808 GB, free: 3.566 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.712e-05/0.5516, allocations: 169.5 kB / 0.581 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.259e-05/0.5517, allocations: 384 / 0.581 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.042e-05/0.5517, allocations: 1.812 kB / 0.581 GB, free: 3.363 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.5518, allocations: 33 kB / 0.581 GB, free: 3.328 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.04e-05/0.5518, allocations: 3.938 kB / 0.581 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.5518, allocations: 0.7969 kB / 0.581 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.5518, allocations: 0.9375 kB / 0.581 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.17e-05/0.5519, allocations: 0.9375 kB / 0.581 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001644/0.552, allocations: 148.5 kB / 0.5812 GB, free: 3.133 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.667e-05/0.5521, allocations: 21.62 kB / 0.5812 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.951e-05/0.5521, allocations: 12.09 kB / 0.5812 GB, free: 3.094 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008197/0.5529, allocations: 450.4 kB / 0.5816 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.553, allocations: 35.34 kB / 0.5817 GB, free: 2.582 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.553, allocations: 0 / 0.5817 GB, free: 2.582 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001574/0.5531, allocations: 40.7 kB / 0.5817 GB, free: 2.543 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.697e-05/0.5532, allocations: 52.41 kB / 0.5818 GB, free: 2.48 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.715e-05/0.5532, allocations: 90.56 kB / 0.5818 GB, free: 2.383 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.5532, allocations: 25.7 kB / 0.5819 GB, free: 2.352 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.087e-05/0.5533, allocations: 85.33 kB / 0.5819 GB, free: 2.266 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.5533, allocations: 7.844 kB / 0.582 GB, free: 2.258 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.035e-05/0.5533, allocations: 15.77 kB / 0.582 GB, free: 2.238 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 5.521e-05/0.5534, allocations: 312.5 kB / 0.5823 GB, free: 1.926 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.227e-05/0.5534, allocations: 4.938 kB / 0.5823 GB, free: 1.922 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.5534, allocations: 1.812 kB / 0.5823 GB, free: 1.922 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.24e-05/0.5535, allocations: 8.266 kB / 0.5823 GB, free: 1.914 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.5535, allocations: 0 / 0.5823 GB, free: 1.914 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.735e-05/0.5535, allocations: 32.39 kB / 0.5823 GB, free: 1.883 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.669e-05/0.5535, allocations: 5.344 kB / 0.5823 GB, free: 1.883 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.13e-06/0.5536, allocations: 8.625 kB / 0.5823 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.174e-05/0.5536, allocations: 0 / 0.5823 GB, free: 1.875 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.933e-05/0.5536, allocations: 6.266 kB / 0.5823 GB, free: 1.871 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.45e-06/0.5536, allocations: 5.312 kB / 0.5823 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.087e-05/0.5536, allocations: 0.6562 kB / 0.5823 GB, free: 1.867 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.5537, allocations: 0.875 kB / 0.5823 GB, free: 1.867 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.428e-05/0.5537, allocations: 112.9 kB / 0.5824 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.486e-06/0.5537, allocations: 0.8125 kB / 0.5824 GB, free: 1.75 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.565e-05/0.5538, allocations: 42.69 kB / 0.5825 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.395e-06/0.5538, allocations: 1.844 kB / 0.5825 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5538, allocations: 0 / 0.5825 GB, free: 1.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.665e-06/0.5538, allocations: 5.125 kB / 0.5825 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.411e-05/0.5539, allocations: 145 kB / 0.5826 GB, free: 1.516 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.5539, allocations: 4 kB / 0.5826 GB, free: 1.512 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.476e-05/0.5539, allocations: 5.688 kB / 0.5826 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.5539, allocations: 1.25 kB / 0.5826 GB, free: 1.508 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.861e-06/0.5539, allocations: 3.938 kB / 0.5826 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.5539, allocations: 1.641 kB / 0.5827 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.554, allocations: 3.938 kB / 0.5827 GB, free: 1.5 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.23e-05/0.554, allocations: 56.58 kB / 0.5827 GB, free: 1.434 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.609e-05/0.554, allocations: 78.84 kB / 0.5828 GB, free: 1.34 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.554, allocations: 5.406 kB / 0.5828 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.496e-06/0.5541, allocations: 0 / 0.5828 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.449e-05/0.5541, allocations: 1.484 kB / 0.5828 GB, free: 1.336 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.426e-06/0.5541, allocations: 0.6562 kB / 0.5828 GB, free: 1.336 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.463e-05/0.5541, allocations: 79.84 kB / 0.5829 GB, free: 1.258 MB / 430.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5541, allocations: 1.594 kB / 0.5829 GB, free: 1.258 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002543/0.5544, allocations: 10.53 kB / 0.5829 GB, free: 1.258 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.0003407/0.5547, allocations: 0.619 MB / 0.5835 GB, free: 0.6523 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.708e-05/0.5548, allocations: 7.953 kB / 0.5835 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.724e-06/0.5548, allocations: 0 / 0.5835 GB, free: 0.6484 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.483e-06/0.5548, allocations: 7.062 kB / 0.5835 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001392/0.555, allocations: 1.625 kB / 0.5835 GB, free: 0.6445 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002597/0.5552, allocations: 110.6 kB / 0.5836 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.5554, allocations: 0.672 MB / 0.5843 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.571e-05/0.5554, allocations: 1.953 kB / 0.5843 GB, free: 15.81 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.431e-05/0.5554, allocations: 7.438 kB / 0.5843 GB, free: 15.8 MB / 446.1 MB Notification: Performance of SimCode: time 3.4e-07/0.5554, allocations: 3.938 kB / 0.5843 GB, free: 15.8 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.5661, allocations: 0.9939 MB / 0.5852 GB, free: 15.59 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000212/0.5663, allocations: 196.2 kB / 0.5854 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.65/2.216, allocations: 1.531 kB / 0.5854 GB, free: 15.32 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)