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.0008289/0.0008289, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.006391/0.006391, allocations: 171.1 kB / 16.26 MB, free: 6.613 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.32/1.32, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7378/0.7378, allocations: 132.3 MB / 423.8 MB, free: 1.988 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.0003238, allocations: 12 kB / 0.5041 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4064/0.4067, allocations: 81.57 MB / 0.5838 GB, free: 3.875 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007765/0.4076, allocations: 319.7 kB / 0.5841 GB, free: 3.66 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005836/0.4082, allocations: 192.4 kB / 0.5842 GB, free: 3.539 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.034e-05/0.4082, allocations: 3.938 kB / 0.5842 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.4082, allocations: 0 / 0.5842 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.35e-06/0.4082, allocations: 1.344 kB / 0.5842 GB, free: 3.535 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003608/0.4086, allocations: 44.98 kB / 0.5843 GB, free: 3.516 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.312e-05/0.4087, allocations: 4.938 kB / 0.5843 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.326e-05/0.4087, allocations: 2.656 kB / 0.5843 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.31e-05/0.4087, allocations: 0.875 kB / 0.5843 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.13e-05/0.4088, allocations: 1.5 kB / 0.5843 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.4088, allocations: 0.6875 kB / 0.5843 GB, free: 3.512 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002228/0.409, allocations: 66.03 kB / 0.5844 GB, free: 3.492 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.087e-06/0.409, allocations: 4.828 kB / 0.5844 GB, free: 3.488 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.934e-05/0.4091, allocations: 25.7 kB / 0.5844 GB, free: 3.457 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001369/0.4092, allocations: 34.42 kB / 0.5844 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.4092, allocations: 1 kB / 0.5844 GB, free: 3.449 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.744e-06/0.4092, allocations: 1.156 kB / 0.5844 GB, free: 3.449 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.918e-06/0.4092, allocations: 0 / 0.5844 GB, free: 3.449 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.0002275/0.4095, allocations: 323.7 kB / 0.5847 GB, free: 3.09 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.531e-05/0.4095, allocations: 10.41 kB / 0.5847 GB, free: 3.09 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.52e-05/0.4096, allocations: 34.69 kB / 0.5848 GB, free: 3.047 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.176e-05/0.4096, allocations: 5.469 kB / 0.5848 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.585e-05/0.4097, allocations: 161.8 kB / 0.5849 GB, free: 2.848 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.117e-05/0.4097, allocations: 5.5 kB / 0.5849 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.005e-05/0.4097, allocations: 1.25 kB / 0.5849 GB, free: 2.844 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.63e-05/0.4098, allocations: 31.73 kB / 0.585 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.4098, allocations: 3.938 kB / 0.585 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.4098, allocations: 0.9688 kB / 0.585 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.709e-06/0.4099, allocations: 0 / 0.585 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.049e-05/0.4099, allocations: 1.125 kB / 0.585 GB, free: 2.809 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.41, allocations: 149.4 kB / 0.5851 GB, free: 2.617 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.502e-05/0.41, allocations: 24.17 kB / 0.5851 GB, free: 2.586 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.869e-05/0.4101, allocations: 10.97 kB / 0.5852 GB, free: 2.574 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008305/0.4109, allocations: 458.2 kB / 0.5856 GB, free: 2.102 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.4109, allocations: 36.56 kB / 0.5856 GB, free: 2.059 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.583e-06/0.411, allocations: 0 / 0.5856 GB, free: 2.059 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001242/0.4111, allocations: 39.75 kB / 0.5857 GB, free: 2.02 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.088e-05/0.4111, allocations: 53.17 kB / 0.5857 GB, free: 1.957 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.032e-05/0.4112, allocations: 89.86 kB / 0.5858 GB, free: 1.859 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.063e-06/0.4112, allocations: 26.36 kB / 0.5858 GB, free: 1.828 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 1.104e-05/0.4112, allocations: 84.12 kB / 0.5859 GB, free: 1.742 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.371e-05/0.4112, allocations: 5.344 kB / 0.5859 GB, free: 1.738 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.698e-05/0.4113, allocations: 13.72 kB / 0.5859 GB, free: 1.719 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.051e-05/0.4113, allocations: 317.1 kB / 0.5862 GB, free: 1.402 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.878e-06/0.4113, allocations: 0.6094 kB / 0.5862 GB, free: 1.402 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.712e-06/0.4113, allocations: 1.406 kB / 0.5862 GB, free: 1.402 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.707e-05/0.4114, allocations: 8.719 kB / 0.5862 GB, free: 1.395 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4114, allocations: 0 / 0.5862 GB, free: 1.395 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.887e-05/0.4115, allocations: 36.38 kB / 0.5863 GB, free: 1.359 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.4115, allocations: 4.938 kB / 0.5863 GB, free: 1.359 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4115, allocations: 4.734 kB / 0.5863 GB, free: 1.355 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.4115, allocations: 4 kB / 0.5863 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.942e-05/0.4116, allocations: 2.297 kB / 0.5863 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.498e-06/0.4116, allocations: 0.8438 kB / 0.5863 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.365e-05/0.4116, allocations: 0 / 0.5863 GB, free: 1.352 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.232e-06/0.4116, allocations: 1.234 kB / 0.5863 GB, free: 1.352 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.896e-05/0.4117, allocations: 112.2 kB / 0.5864 GB, free: 1.234 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.508e-06/0.4117, allocations: 3.938 kB / 0.5864 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.776e-05/0.4118, allocations: 40 kB / 0.5864 GB, free: 1.191 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.494e-06/0.4118, allocations: 4.781 kB / 0.5864 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.4118, allocations: 0 / 0.5864 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.43e-06/0.4118, allocations: 1.641 kB / 0.5864 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.336e-05/0.4119, allocations: 151.6 kB / 0.5866 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.074e-06/0.4119, allocations: 0.625 kB / 0.5866 GB, free: 0.9922 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.832e-05/0.4119, allocations: 6.344 kB / 0.5866 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.354e-06/0.412, allocations: 0.625 kB / 0.5866 GB, free: 0.9883 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.715e-06/0.412, allocations: 4.547 kB / 0.5866 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.412, allocations: 1.188 kB / 0.5866 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.412, allocations: 0 / 0.5866 GB, free: 0.9844 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.61e-05/0.4121, allocations: 57.22 kB / 0.5867 GB, free: 0.918 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.691e-05/0.4121, allocations: 78.64 kB / 0.5867 GB, free: 0.8242 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.405e-05/0.4121, allocations: 5.203 kB / 0.5867 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.153e-05/0.4121, allocations: 0 / 0.5867 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.078e-05/0.4122, allocations: 1.578 kB / 0.5867 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.016e-06/0.4122, allocations: 0.9375 kB / 0.5867 GB, free: 0.8203 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.356e-05/0.4122, allocations: 79.28 kB / 0.5868 GB, free: 0.7422 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.4122, allocations: 4.031 kB / 0.5868 GB, free: 0.7383 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0003527/0.4126, allocations: 15.97 kB / 0.5868 GB, free: 0.7344 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.0003845/0.413, allocations: 0.6194 MB / 0.5874 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 7.484e-05/0.4131, allocations: 3.531 kB / 0.5874 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.4131, allocations: 0 / 0.5874 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.119e-05/0.4131, allocations: 3.344 kB / 0.5874 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002013/0.4133, allocations: 3.844 kB / 0.5875 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003431/0.4137, allocations: 120.2 kB / 0.5876 GB, free: 15.98 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.4139, allocations: 0.6704 MB / 0.5882 GB, free: 15.29 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.727e-05/0.414, allocations: 10.06 kB / 0.5882 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.414, allocations: 8.688 kB / 0.5882 GB, free: 15.27 MB / 446.1 MB Notification: Performance of SimCode: time 3.51e-07/0.414, allocations: 0 / 0.5882 GB, free: 15.27 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01054/0.4246, allocations: 0.9456 MB / 0.5892 GB, free: 15.13 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001857/0.4248, allocations: 185.2 kB / 0.5893 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.775/2.2, allocations: 4 kB / 0.5893 GB, free: 14.88 MB / 446.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)