Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_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.001516/0.001517, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001881/0.001881, allocations: 191.9 kB / 16.25 MB, free: 6.633 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.433/1.433, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.007/1.007, allocations: 135.1 MB / 425.2 MB, free: 11.91 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002153/0.002153, allocations: 66.77 kB / 0.505 GB, free: 5.555 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2211/0.2232, allocations: 80.93 MB / 0.584 GB, free: 4.797 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.002428/0.2257, allocations: 0.6342 MB / 0.5846 GB, free: 4.156 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006472/0.2264, allocations: 175.5 kB / 0.5848 GB, free: 3.984 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.865e-05/0.2264, allocations: 3.938 kB / 0.5848 GB, free: 3.98 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.203e-05/0.2265, allocations: 3.938 kB / 0.5848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.125e-06/0.2265, allocations: 0 / 0.5848 GB, free: 3.977 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004889/0.227, allocations: 43.97 kB / 0.5848 GB, free: 3.934 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.478e-05/0.2271, allocations: 7.922 kB / 0.5848 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.426e-05/0.2271, allocations: 0 / 0.5848 GB, free: 3.926 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.926e-05/0.2272, allocations: 4 kB / 0.5849 GB, free: 3.922 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.67e-05/0.2272, allocations: 7.938 kB / 0.5849 GB, free: 3.914 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.844e-06/0.2272, allocations: 4 kB / 0.5849 GB, free: 3.91 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002132/0.2274, allocations: 59.88 kB / 0.5849 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.359e-05/0.2275, allocations: 4 kB / 0.5849 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.299e-05/0.2275, allocations: 0 / 0.5849 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001337/0.2276, allocations: 35.94 kB / 0.585 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.2276, allocations: 0 / 0.585 GB, free: 3.812 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.2276, allocations: 0 / 0.585 GB, free: 3.812 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.273e-05/0.2277, allocations: 4 kB / 0.585 GB, free: 3.809 MB / 494.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.000336/0.228, allocations: 319.6 kB / 0.5853 GB, free: 3.445 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.736e-05/0.2281, allocations: 8.031 kB / 0.5853 GB, free: 3.438 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.184e-05/0.2281, allocations: 34.75 kB / 0.5853 GB, free: 3.395 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.227e-05/0.2281, allocations: 8.938 kB / 0.5853 GB, free: 3.387 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001142/0.2283, allocations: 164.3 kB / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.976e-06/0.2283, allocations: 384 / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.2283, allocations: 384 / 0.5855 GB, free: 3.188 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001034/0.2284, allocations: 30.2 kB / 0.5855 GB, free: 3.152 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.2284, allocations: 3.938 kB / 0.5855 GB, free: 3.148 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.352e-05/0.2284, allocations: 7.984 kB / 0.5855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-06/0.2285, allocations: 0 / 0.5855 GB, free: 3.141 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.128e-05/0.2285, allocations: 3.984 kB / 0.5855 GB, free: 3.137 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001551/0.2286, allocations: 149.7 kB / 0.5857 GB, free: 2.941 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.306e-05/0.2287, allocations: 20.27 kB / 0.5857 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.79e-05/0.2287, allocations: 4.859 kB / 0.5857 GB, free: 2.906 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008173/0.2295, allocations: 465.5 kB / 0.5861 GB, free: 2.359 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.2296, allocations: 30.56 kB / 0.5862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.403e-06/0.2296, allocations: 0 / 0.5862 GB, free: 2.32 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001677/0.2298, allocations: 33.64 kB / 0.5862 GB, free: 2.281 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.372e-05/0.2298, allocations: 51.41 kB / 0.5862 GB, free: 2.219 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.464e-05/0.2299, allocations: 89.86 kB / 0.5863 GB, free: 2.121 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.434e-05/0.2299, allocations: 25.7 kB / 0.5863 GB, free: 2.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.378e-05/0.2299, allocations: 80.27 kB / 0.5864 GB, free: 2.008 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.423e-05/0.23, allocations: 11.91 kB / 0.5864 GB, free: 1.996 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.224e-05/0.23, allocations: 17.7 kB / 0.5865 GB, free: 1.973 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001134/0.2301, allocations: 310.8 kB / 0.5867 GB, free: 1.66 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.165e-05/0.2301, allocations: 0 / 0.5867 GB, free: 1.66 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.745e-06/0.2302, allocations: 7.938 kB / 0.5868 GB, free: 1.652 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.676e-05/0.2302, allocations: 4.859 kB / 0.5868 GB, free: 1.645 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.948e-06/0.2302, allocations: 4 kB / 0.5868 GB, free: 1.641 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.975e-05/0.2303, allocations: 37.7 kB / 0.5868 GB, free: 1.598 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.604e-05/0.2303, allocations: 4 kB / 0.5868 GB, free: 1.594 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.584e-06/0.2303, allocations: 3.938 kB / 0.5868 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2303, allocations: 0 / 0.5868 GB, free: 1.59 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.085e-05/0.2304, allocations: 7.984 kB / 0.5868 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.2304, allocations: 0 / 0.5868 GB, free: 1.582 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.228e-05/0.2304, allocations: 4 kB / 0.5868 GB, free: 1.578 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.621e-06/0.2304, allocations: 0 / 0.5868 GB, free: 1.578 MB / 494.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 8.201e-05/0.2305, allocations: 105.8 kB / 0.5869 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.223e-05/0.2305, allocations: 11.97 kB / 0.5869 GB, free: 1.453 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.819e-05/0.2306, allocations: 44.69 kB / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.2306, allocations: 0 / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.17e-06/0.2306, allocations: 0 / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.2306, allocations: 0 / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001052/0.2308, allocations: 145.7 kB / 0.5871 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.2308, allocations: 0 / 0.5871 GB, free: 1.211 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.529e-05/0.2308, allocations: 4 kB / 0.5871 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.815e-06/0.2308, allocations: 0 / 0.5871 GB, free: 1.207 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.2308, allocations: 7.938 kB / 0.5871 GB, free: 1.199 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.2308, allocations: 4.031 kB / 0.5871 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.2308, allocations: 0 / 0.5871 GB, free: 1.195 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.435e-05/0.2309, allocations: 61.06 kB / 0.5872 GB, free: 1.117 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.838e-05/0.2309, allocations: 77.11 kB / 0.5873 GB, free: 1.023 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.154e-05/0.231, allocations: 3.938 kB / 0.5873 GB, free: 1.02 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.606e-06/0.231, allocations: 4 kB / 0.5873 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.518e-05/0.231, allocations: 0 / 0.5873 GB, free: 1.016 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.231, allocations: 8.016 kB / 0.5873 GB, free: 1.008 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.91e-05/0.231, allocations: 75.28 kB / 0.5873 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.231, allocations: 4 kB / 0.5874 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002143/0.2313, allocations: 8 kB / 0.5874 GB, free: 0.9219 MB / 494.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.000445/0.2317, allocations: 0.6205 MB / 0.588 GB, free: 276 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.919e-05/0.2318, allocations: 4 kB / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.2318, allocations: 0 / 0.588 GB, free: 272 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.574e-06/0.2318, allocations: 4 kB / 0.588 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001371/0.232, allocations: 0.9844 kB / 0.588 GB, free: 268 kB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003169/0.2323, allocations: 118.7 kB / 0.5881 GB, free: 108 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.2325, allocations: 0.6729 MB / 0.5887 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.274e-05/0.2326, allocations: 0 / 0.5887 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.897e-05/0.2326, allocations: 11.38 kB / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of SimCode: time 3.2e-07/0.2326, allocations: 0 / 0.5888 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01024/0.2428, allocations: 1.032 MB / 0.5898 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/0.2431, allocations: 195.5 kB / 0.5899 GB, free: 14.23 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.742/1.985, allocations: 0 / 0.5899 GB, free: 14.23 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)