Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ1,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_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.001021/0.001021, 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.001075/0.001075, allocations: 192.8 kB / 16.13 MB, free: 6.664 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.344/1.344, allocations: 222.9 MB / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7345/0.7345, allocations: 132.2 MB / 422.1 MB, free: 2.023 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001182/0.001182, allocations: 67.58 kB / 0.5012 GB, free: 4.207 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3828/0.384, allocations: 80.2 MB / 0.5795 GB, free: 4.43 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.BesselJ1): time 0.002279/0.3863, allocations: 1.489 MB / 0.581 GB, free: 3.398 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004746/0.3868, allocations: 264.2 kB / 0.5812 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.996e-05/0.3868, allocations: 1.156 kB / 0.5812 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 2.761e-05/0.3869, allocations: 0.6094 kB / 0.5812 GB, free: 3.223 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 3.613e-05/0.3869, allocations: 3.938 kB / 0.5812 GB, free: 3.219 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002838/0.3872, allocations: 51.61 kB / 0.5813 GB, free: 3.195 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 4.664e-05/0.3873, allocations: 18.52 kB / 0.5813 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.398e-05/0.3873, allocations: 4.938 kB / 0.5813 GB, free: 3.188 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.465e-05/0.3874, allocations: 11.98 kB / 0.5813 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.223e-05/0.3874, allocations: 6.828 kB / 0.5813 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 8.866e-06/0.3874, allocations: 0.9375 kB / 0.5813 GB, free: 3.18 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001491/0.3876, allocations: 70.7 kB / 0.5814 GB, free: 3.156 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 1.121e-05/0.3876, allocations: 8.453 kB / 0.5814 GB, free: 3.148 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.3876, allocations: 8.031 kB / 0.5814 GB, free: 3.145 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00013/0.3878, allocations: 57.92 kB / 0.5814 GB, free: 3.121 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.3878, allocations: 8.562 kB / 0.5814 GB, free: 3.113 MB / 430.1 MB Notification: Performance of FrontEnd: time 9.82e-07/0.3878, allocations: 1.031 kB / 0.5814 GB, free: 3.113 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.236e-06/0.3878, allocations: 0 / 0.5814 GB, free: 3.113 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.0003413/0.3881, allocations: 349.9 kB / 0.5818 GB, free: 2.746 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.3882, allocations: 9.891 kB / 0.5818 GB, free: 2.746 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.056e-05/0.3882, allocations: 31.56 kB / 0.5818 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.063e-05/0.3882, allocations: 2.094 kB / 0.5818 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.439e-05/0.3883, allocations: 172 kB / 0.582 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.3883, allocations: 1.125 kB / 0.582 GB, free: 2.504 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.586e-06/0.3883, allocations: 5.625 kB / 0.582 GB, free: 2.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001569/0.3885, allocations: 53.3 kB / 0.582 GB, free: 2.461 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.963e-06/0.3885, allocations: 3.938 kB / 0.582 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.943e-06/0.3885, allocations: 0 / 0.582 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.3885, allocations: 1.938 kB / 0.582 GB, free: 2.457 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001696/0.3887, allocations: 32.12 kB / 0.5821 GB, free: 2.453 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002288/0.3889, allocations: 250.5 kB / 0.5823 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001212/0.3891, allocations: 45.53 kB / 0.5824 GB, free: 2.141 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.732e-05/0.3892, allocations: 23.2 kB / 0.5824 GB, free: 2.129 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005625/0.3897, allocations: 462 kB / 0.5828 GB, free: 1.652 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.499e-05/0.3898, allocations: 36.39 kB / 0.5829 GB, free: 1.609 MB / 430.1 MB Notification: Performance of pre-optimization done (n=2): time 1.112e-06/0.3898, allocations: 0 / 0.5829 GB, free: 1.609 MB / 430.1 MB Notification: Performance of matching and sorting (n=2): time 0.000332/0.3901, allocations: 75.77 kB / 0.5829 GB, free: 1.574 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.629e-05/0.3901, allocations: 56.05 kB / 0.583 GB, free: 1.508 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.783e-05/0.3902, allocations: 102.2 kB / 0.5831 GB, free: 1.406 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.3902, allocations: 25.7 kB / 0.5831 GB, free: 1.375 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.229e-05/0.3902, allocations: 90.27 kB / 0.5832 GB, free: 1.285 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.419e-05/0.3902, allocations: 4.609 kB / 0.5832 GB, free: 1.281 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.636e-05/0.3903, allocations: 12.86 kB / 0.5832 GB, free: 1.266 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.324e-05/0.3903, allocations: 313.2 kB / 0.5835 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.835e-05/0.3904, allocations: 21.44 kB / 0.5835 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.767e-05/0.3905, allocations: 15.81 kB / 0.5835 GB, free: 0.9453 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001466/0.3906, allocations: 40 kB / 0.5836 GB, free: 0.9297 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.3907, allocations: 4.547 kB / 0.5836 GB, free: 0.9258 MB / 430.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001821/0.3908, allocations: 67.52 kB / 0.5837 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.3909, allocations: 4.844 kB / 0.5837 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.366e-06/0.3909, allocations: 0 / 0.5837 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.063e-05/0.3909, allocations: 1.75 kB / 0.5837 GB, free: 0.8867 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.184e-05/0.391, allocations: 12.67 kB / 0.5837 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.09e-06/0.391, allocations: 0 / 0.5837 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.391, allocations: 6.375 kB / 0.5837 GB, free: 0.8828 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.3911, allocations: 0.7812 kB / 0.5837 GB, free: 0.8828 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.295e-05/0.3911, allocations: 113.9 kB / 0.5838 GB, free: 0.7656 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.539e-05/0.3911, allocations: 13.31 kB / 0.5838 GB, free: 0.7539 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002169/0.3914, allocations: 75.25 kB / 0.5839 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.3914, allocations: 1.438 kB / 0.5839 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.3914, allocations: 0.7031 kB / 0.5839 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.104e-06/0.3914, allocations: 0 / 0.5839 GB, free: 0.707 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/0.3915, allocations: 159.4 kB / 0.584 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3915, allocations: 0.9688 kB / 0.584 GB, free: 0.5117 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.077e-05/0.3916, allocations: 12.83 kB / 0.584 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.3916, allocations: 0.7031 kB / 0.584 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.3916, allocations: 1.062 kB / 0.584 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3916, allocations: 3.938 kB / 0.584 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.3916, allocations: 2.141 kB / 0.584 GB, free: 0.5039 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001999/0.3918, allocations: 161.7 kB / 0.5842 GB, free: 372 kB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.494e-05/0.3918, allocations: 86.86 kB / 0.5843 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.217e-05/0.3919, allocations: 1 kB / 0.5843 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.3919, allocations: 5.719 kB / 0.5843 GB, free: 268 kB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.497e-05/0.392, allocations: 7.297 kB / 0.5843 GB, free: 264 kB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.392, allocations: 0.6094 kB / 0.5843 GB, free: 264 kB / 430.1 MB Notification: Performance of sorting global known variables: time 2.052e-05/0.392, allocations: 84.11 kB / 0.5844 GB, free: 184 kB / 430.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.392, allocations: 0 / 0.5844 GB, free: 184 kB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002391/0.3923, allocations: 15.48 kB / 0.5844 GB, free: 184 kB / 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.0005533/0.3928, allocations: 0.7173 MB / 0.5851 GB, free: 15.5 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.393, allocations: 40.39 kB / 0.5851 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.393, allocations: 0 / 0.5851 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 8.612e-05/0.3931, allocations: 19.97 kB / 0.5851 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002232/0.3934, allocations: 3.516 kB / 0.5852 GB, free: 15.49 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003908/0.3938, allocations: 144.5 kB / 0.5853 GB, free: 15.34 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.394, allocations: 0.6759 MB / 0.5859 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.054e-05/0.394, allocations: 1.703 kB / 0.586 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.069e-05/0.3941, allocations: 13.12 kB / 0.586 GB, free: 14.63 MB / 446.1 MB Notification: Performance of SimCode: time 4.31e-07/0.3941, allocations: 0 / 0.586 GB, free: 14.63 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01055/0.4046, allocations: 1.307 MB / 0.5872 GB, free: 14.38 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001648/0.4048, allocations: 174.5 kB / 0.5874 GB, free: 14.12 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.612/2.017, allocations: 4 kB / 0.5874 GB, free: 14.12 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ1.pipe 2>&1)