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.0008026/0.0008027, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.0008902/0.0008902, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.2 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7329/0.7329, allocations: 132.3 MB / 423.4 MB, free: 2.09 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003045/0.0003046, allocations: 15.94 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3758/0.3761, allocations: 81.58 MB / 0.5832 GB, free: 3.867 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.0005697/0.3767, allocations: 305.3 kB / 0.5835 GB, free: 3.664 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003704/0.3771, allocations: 183.9 kB / 0.5836 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.147e-06/0.3771, allocations: 0.7812 kB / 0.5836 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 8.396e-06/0.3771, allocations: 2.5 kB / 0.5836 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.721e-06/0.3771, allocations: 0 / 0.5836 GB, free: 3.543 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002854/0.3774, allocations: 45.03 kB / 0.5837 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 2.862e-05/0.3775, allocations: 0.875 kB / 0.5837 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.192e-05/0.3775, allocations: 1.375 kB / 0.5837 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.173e-05/0.3775, allocations: 0.8125 kB / 0.5837 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.037e-05/0.3775, allocations: 1.281 kB / 0.5837 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.23e-06/0.3775, allocations: 0.6562 kB / 0.5837 GB, free: 3.523 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001673/0.3777, allocations: 71.5 kB / 0.5838 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 5.33e-06/0.3777, allocations: 0 / 0.5838 GB, free: 3.5 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.378e-05/0.3778, allocations: 29.64 kB / 0.5838 GB, free: 3.465 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.3e-05/0.3778, allocations: 20.77 kB / 0.5838 GB, free: 3.461 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.3778, allocations: 1.281 kB / 0.5838 GB, free: 3.461 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3778, allocations: 0 / 0.5838 GB, free: 3.461 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.267e-06/0.3779, allocations: 0 / 0.5838 GB, free: 3.461 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.0001702/0.378, allocations: 318.5 kB / 0.5841 GB, free: 3.109 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.921e-05/0.3781, allocations: 9.719 kB / 0.5841 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.335e-05/0.3781, allocations: 38.5 kB / 0.5841 GB, free: 3.062 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.811e-05/0.3781, allocations: 5.547 kB / 0.5842 GB, free: 3.059 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.718e-05/0.3782, allocations: 159.7 kB / 0.5843 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.536e-06/0.3782, allocations: 0.5938 kB / 0.5843 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.322e-06/0.3782, allocations: 0.7188 kB / 0.5843 GB, free: 2.863 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.808e-05/0.3783, allocations: 32.95 kB / 0.5843 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.3783, allocations: 0 / 0.5843 GB, free: 2.828 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.3783, allocations: 4.656 kB / 0.5843 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.3783, allocations: 0 / 0.5843 GB, free: 2.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.839e-05/0.3783, allocations: 10.47 kB / 0.5844 GB, free: 2.816 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.479e-05/0.3784, allocations: 148 kB / 0.5845 GB, free: 2.625 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.92e-05/0.3785, allocations: 20.56 kB / 0.5845 GB, free: 2.598 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.117e-05/0.3785, allocations: 6.984 kB / 0.5845 GB, free: 2.59 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005952/0.3791, allocations: 463.1 kB / 0.585 GB, free: 2.113 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.537e-05/0.3791, allocations: 31.56 kB / 0.585 GB, free: 2.074 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.3791, allocations: 0 / 0.585 GB, free: 2.074 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 9.997e-05/0.3792, allocations: 36.19 kB / 0.585 GB, free: 2.039 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.668e-05/0.3792, allocations: 53.42 kB / 0.5851 GB, free: 1.977 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.335e-05/0.3793, allocations: 93.86 kB / 0.5852 GB, free: 1.875 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 4.749e-06/0.3793, allocations: 25.7 kB / 0.5852 GB, free: 1.844 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.777e-06/0.3793, allocations: 86.69 kB / 0.5853 GB, free: 1.758 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.3793, allocations: 5.344 kB / 0.5853 GB, free: 1.754 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.653e-06/0.3793, allocations: 0.8125 kB / 0.5853 GB, free: 1.754 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.461e-05/0.3794, allocations: 315.4 kB / 0.5856 GB, free: 1.438 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.212e-06/0.3794, allocations: 1.375 kB / 0.5856 GB, free: 1.438 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.699e-06/0.3794, allocations: 1.094 kB / 0.5856 GB, free: 1.438 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.412e-05/0.3794, allocations: 2.312 kB / 0.5856 GB, free: 1.438 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.412e-06/0.3794, allocations: 0 / 0.5856 GB, free: 1.438 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.109e-05/0.3794, allocations: 36.53 kB / 0.5856 GB, free: 1.402 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.3795, allocations: 4.375 kB / 0.5856 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.028e-06/0.3795, allocations: 1.312 kB / 0.5856 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.928e-06/0.3795, allocations: 1.156 kB / 0.5856 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.384e-05/0.3795, allocations: 5.25 kB / 0.5856 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3795, allocations: 0.7188 kB / 0.5856 GB, free: 1.398 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.048e-05/0.3796, allocations: 4.719 kB / 0.5856 GB, free: 1.395 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-06/0.3796, allocations: 5.516 kB / 0.5856 GB, free: 1.391 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 3.873e-05/0.3796, allocations: 113 kB / 0.5858 GB, free: 1.273 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.3796, allocations: 8.016 kB / 0.5858 GB, free: 1.266 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.001e-05/0.3797, allocations: 35.53 kB / 0.5858 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.3797, allocations: 1.703 kB / 0.5858 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.436e-06/0.3797, allocations: 0 / 0.5858 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.3797, allocations: 0 / 0.5858 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.588e-05/0.3798, allocations: 157 kB / 0.5859 GB, free: 1.031 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.3798, allocations: 3.938 kB / 0.5859 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.253e-05/0.3798, allocations: 3.328 kB / 0.586 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.3798, allocations: 0 / 0.586 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.3798, allocations: 0.6562 kB / 0.586 GB, free: 1.027 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.3798, allocations: 4.719 kB / 0.586 GB, free: 1.023 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.323e-06/0.3798, allocations: 4.594 kB / 0.586 GB, free: 1.02 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.534e-05/0.3799, allocations: 57 kB / 0.586 GB, free: 0.9531 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.204e-05/0.3799, allocations: 77.86 kB / 0.5861 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.576e-06/0.3799, allocations: 2.125 kB / 0.5861 GB, free: 0.8594 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-06/0.3799, allocations: 4 kB / 0.5861 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-06/0.3799, allocations: 1.344 kB / 0.5861 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.716e-06/0.3799, allocations: 9.312 kB / 0.5861 GB, free: 0.8477 MB / 430.1 MB Notification: Performance of sorting global known variables: time 9.908e-06/0.3799, allocations: 75.28 kB / 0.5862 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3799, allocations: 0 / 0.5862 GB, free: 0.7734 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002011/0.3802, allocations: 12.44 kB / 0.5862 GB, free: 0.7734 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002688/0.3804, allocations: 0.6185 MB / 0.5868 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 5.182e-05/0.3805, allocations: 4.641 kB / 0.5868 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.3805, allocations: 0 / 0.5868 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.861e-06/0.3805, allocations: 1.281 kB / 0.5868 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001211/0.3806, allocations: 1.906 kB / 0.5868 GB, free: 172 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002085/0.3808, allocations: 111.2 kB / 0.5869 GB, free: 32 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002211/0.3811, allocations: 0.6766 MB / 0.5876 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 1.193e-05/0.3811, allocations: 0 / 0.5876 GB, free: 15.33 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.365e-05/0.3811, allocations: 12.61 kB / 0.5876 GB, free: 15.32 MB / 446.1 MB Notification: Performance of SimCode: time 2.71e-07/0.3811, allocations: 3.938 kB / 0.5876 GB, free: 15.32 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.3927, allocations: 0.9516 MB / 0.5885 GB, free: 15.18 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.3929, allocations: 173.8 kB / 0.5887 GB, free: 14.95 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.513/1.906, allocations: 0 / 0.5887 GB, free: 14.95 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/linux/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) Environment - environmentSimulation: