Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",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.00133/0.00133, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00122/0.001219, allocations: 192.4 kB / 16.13 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.354/1.354, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7509/0.7509, allocations: 132.2 MB / 422.1 MB, free: 2.035 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001617/0.001617, allocations: 63.88 kB / 0.5012 GB, free: 9.133 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2284, allocations: 80.2 MB / 0.5795 GB, free: 9.156 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.002028/0.2304, allocations: 0.6425 MB / 0.5801 GB, free: 8.512 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006228/0.2311, allocations: 207.3 kB / 0.5803 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.315e-05/0.2311, allocations: 4 kB / 0.5803 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.343e-05/0.2312, allocations: 0 / 0.5803 GB, free: 8.305 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.2312, allocations: 4 kB / 0.5803 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003829/0.2316, allocations: 43.84 kB / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.357e-05/0.2316, allocations: 0 / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.775e-05/0.2317, allocations: 0 / 0.5804 GB, free: 8.258 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.2317, allocations: 3.984 kB / 0.5804 GB, free: 8.254 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.444e-05/0.2317, allocations: 4 kB / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.2318, allocations: 0 / 0.5804 GB, free: 8.25 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002018/0.232, allocations: 63.88 kB / 0.5805 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.215e-06/0.232, allocations: 0 / 0.5805 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.232, allocations: 0 / 0.5805 GB, free: 8.188 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000129/0.2321, allocations: 51.88 kB / 0.5805 GB, free: 8.137 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.2322, allocations: 0 / 0.5805 GB, free: 8.137 MB / 494.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.2322, allocations: 0 / 0.5805 GB, free: 8.137 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.35e-06/0.2322, allocations: 0 / 0.5805 GB, free: 8.137 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.0003298/0.2325, allocations: 316.8 kB / 0.5808 GB, free: 7.777 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.736e-05/0.2326, allocations: 12.03 kB / 0.5808 GB, free: 7.766 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.948e-05/0.2326, allocations: 38.69 kB / 0.5808 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.738e-05/0.2326, allocations: 0.9375 kB / 0.5809 GB, free: 7.719 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.712e-05/0.2327, allocations: 160.4 kB / 0.581 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.08e-05/0.2328, allocations: 384 / 0.581 GB, free: 7.523 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.05e-05/0.2328, allocations: 8.359 kB / 0.581 GB, free: 7.516 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.775e-05/0.2329, allocations: 34.2 kB / 0.581 GB, free: 7.477 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.659e-06/0.2329, allocations: 3.938 kB / 0.581 GB, free: 7.473 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.2329, allocations: 4 kB / 0.5811 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2329, allocations: 0 / 0.5811 GB, free: 7.469 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.113e-05/0.2329, allocations: 3.984 kB / 0.5811 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001433/0.2331, allocations: 147.5 kB / 0.5812 GB, free: 7.273 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.709e-05/0.2331, allocations: 18.58 kB / 0.5812 GB, free: 7.246 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.783e-05/0.2332, allocations: 4.859 kB / 0.5812 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008423/0.234, allocations: 461.5 kB / 0.5817 GB, free: 6.695 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.2341, allocations: 34.5 kB / 0.5817 GB, free: 6.652 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.2341, allocations: 4 kB / 0.5817 GB, free: 6.648 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001394/0.2342, allocations: 33.64 kB / 0.5817 GB, free: 6.609 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.532e-05/0.2343, allocations: 59.39 kB / 0.5818 GB, free: 6.539 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.635e-05/0.2343, allocations: 89.86 kB / 0.5819 GB, free: 6.441 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.307e-05/0.2343, allocations: 25.7 kB / 0.5819 GB, free: 6.41 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.834e-05/0.2344, allocations: 80.14 kB / 0.582 GB, free: 6.328 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.079e-05/0.2344, allocations: 7.906 kB / 0.582 GB, free: 6.32 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.357e-05/0.2344, allocations: 9.719 kB / 0.582 GB, free: 6.305 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001045/0.2345, allocations: 315 kB / 0.5823 GB, free: 5.988 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.004e-05/0.2345, allocations: 0 / 0.5823 GB, free: 5.988 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.5e-06/0.2346, allocations: 4 kB / 0.5823 GB, free: 5.984 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.744e-05/0.2346, allocations: 12.8 kB / 0.5823 GB, free: 5.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.2346, allocations: 7.938 kB / 0.5823 GB, free: 5.961 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.821e-05/0.2347, allocations: 33.69 kB / 0.5823 GB, free: 5.922 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.542e-05/0.2347, allocations: 4 kB / 0.5823 GB, free: 5.918 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.2347, allocations: 3.938 kB / 0.5824 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.533e-05/0.2347, allocations: 4.094 kB / 0.5824 GB, free: 5.91 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.489e-05/0.2348, allocations: 4 kB / 0.5824 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.513e-06/0.2348, allocations: 0 / 0.5824 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.102e-05/0.2348, allocations: 0 / 0.5824 GB, free: 5.906 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2348, allocations: 0 / 0.5824 GB, free: 5.906 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 7.707e-05/0.2349, allocations: 110.4 kB / 0.5825 GB, free: 5.789 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.566e-05/0.2349, allocations: 4 kB / 0.5825 GB, free: 5.785 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.01e-05/0.235, allocations: 48.69 kB / 0.5825 GB, free: 5.727 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.973e-06/0.235, allocations: 4.031 kB / 0.5825 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.235, allocations: 0 / 0.5825 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.235, allocations: 0 / 0.5825 GB, free: 5.723 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.643e-05/0.2351, allocations: 141.7 kB / 0.5827 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2351, allocations: 0 / 0.5827 GB, free: 5.535 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.572e-05/0.2352, allocations: 7.984 kB / 0.5827 GB, free: 5.527 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.2352, allocations: 4 kB / 0.5827 GB, free: 5.523 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.354e-06/0.2352, allocations: 3.938 kB / 0.5827 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.42e-07/0.2352, allocations: 0 / 0.5827 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.2352, allocations: 0 / 0.5827 GB, free: 5.52 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.24e-05/0.2353, allocations: 65.08 kB / 0.5827 GB, free: 5.438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.557e-05/0.2353, allocations: 81.09 kB / 0.5828 GB, free: 5.34 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.117e-05/0.2353, allocations: 3.938 kB / 0.5828 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.084e-06/0.2353, allocations: 0 / 0.5828 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.182e-05/0.2354, allocations: 0 / 0.5828 GB, free: 5.336 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.934e-06/0.2354, allocations: 0 / 0.5828 GB, free: 5.336 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.329e-05/0.2354, allocations: 79.28 kB / 0.5829 GB, free: 5.258 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2354, allocations: 0 / 0.5829 GB, free: 5.258 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000212/0.2356, allocations: 16.03 kB / 0.5829 GB, free: 5.242 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.0004642/0.2361, allocations: 0.6127 MB / 0.5835 GB, free: 4.602 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 7.043e-05/0.2362, allocations: 11.92 kB / 0.5835 GB, free: 4.59 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.2362, allocations: 0 / 0.5835 GB, free: 4.59 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.243e-06/0.2362, allocations: 4 kB / 0.5835 GB, free: 4.586 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.2363, allocations: 4 kB / 0.5835 GB, free: 4.582 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002962/0.2366, allocations: 111.1 kB / 0.5836 GB, free: 4.438 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002436/0.2369, allocations: 0.6731 MB / 0.5843 GB, free: 3.738 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.294e-05/0.2369, allocations: 4 kB / 0.5843 GB, free: 3.734 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.2369, allocations: 15.5 kB / 0.5843 GB, free: 3.723 MB / 494.1 MB Notification: Performance of SimCode: time 4.61e-07/0.2369, allocations: 0 / 0.5843 GB, free: 3.723 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01131/0.2482, allocations: 0.9924 MB / 0.5853 GB, free: 2.828 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.2485, allocations: 189.5 kB / 0.5855 GB, free: 2.574 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.654/1.903, allocations: 6.875 kB / 0.5855 GB, free: 2.57 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)