Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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/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.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_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.001706/0.001706, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.002097/0.002097, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.625/2.625, allocations: 223.2 MB / 239.9 MB, free: 5.473 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.418/1.418, allocations: 132.2 MB / 423.2 MB, free: 2.223 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0007257/0.0007259, allocations: 16 kB / 0.5033 GB, free: 4.215 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8199/0.8206, allocations: 81.58 MB / 0.583 GB, free: 4.039 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001161/0.8219, allocations: 310.3 kB / 0.5833 GB, free: 3.832 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007394/0.8227, allocations: 172.8 kB / 0.5834 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.345e-05/0.8227, allocations: 0.5625 kB / 0.5834 GB, free: 3.719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.47e-05/0.8228, allocations: 4 kB / 0.5834 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 7.464e-06/0.8228, allocations: 0.9375 kB / 0.5834 GB, free: 3.715 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005337/0.8233, allocations: 33.36 kB / 0.5835 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 5.165e-05/0.8234, allocations: 1.812 kB / 0.5835 GB, free: 3.703 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.762e-05/0.8235, allocations: 3.938 kB / 0.5835 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.033e-05/0.8235, allocations: 1.281 kB / 0.5835 GB, free: 3.699 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.533e-05/0.8236, allocations: 4.875 kB / 0.5835 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.145e-05/0.8236, allocations: 1.375 kB / 0.5835 GB, free: 3.695 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003245/0.8239, allocations: 61.14 kB / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 9.237e-06/0.8239, allocations: 0 / 0.5835 GB, free: 3.68 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.824, allocations: 29.7 kB / 0.5836 GB, free: 3.645 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001517/0.8241, allocations: 20.69 kB / 0.5836 GB, free: 3.641 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.8242, allocations: 0 / 0.5836 GB, free: 3.641 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.8242, allocations: 0.9375 kB / 0.5836 GB, free: 3.641 MB / 430.1 MB Notification: Performance of Transformations before backend: time 8.505e-06/0.8242, allocations: 0 / 0.5836 GB, free: 3.641 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.0003152/0.8245, allocations: 320.7 kB / 0.5839 GB, free: 3.289 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.009e-05/0.8246, allocations: 13.38 kB / 0.5839 GB, free: 3.285 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.765e-05/0.8247, allocations: 30.56 kB / 0.5839 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.668e-05/0.8247, allocations: 0.5625 kB / 0.5839 GB, free: 3.246 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.269e-05/0.8248, allocations: 168.5 kB / 0.5841 GB, free: 3.043 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.8249, allocations: 4.609 kB / 0.5841 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.298e-05/0.8249, allocations: 1 kB / 0.5841 GB, free: 3.039 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001192/0.825, allocations: 28.48 kB / 0.5841 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.18e-05/0.825, allocations: 0.7031 kB / 0.5841 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.618e-06/0.8251, allocations: 0 / 0.5841 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.836e-06/0.8251, allocations: 1.031 kB / 0.5841 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.827e-05/0.8251, allocations: 0.8125 kB / 0.5841 GB, free: 3.008 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001834/0.8253, allocations: 152.3 kB / 0.5843 GB, free: 2.812 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 5.683e-05/0.8254, allocations: 25.75 kB / 0.5843 GB, free: 2.781 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001131/0.8265, allocations: 450.5 kB / 0.5847 GB, free: 2.312 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.684e-05/0.8266, allocations: 36.47 kB / 0.5848 GB, free: 2.27 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.994e-06/0.8266, allocations: 4 kB / 0.5848 GB, free: 2.266 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002019/0.8268, allocations: 35.81 kB / 0.5848 GB, free: 2.23 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.871e-05/0.8269, allocations: 52.22 kB / 0.5849 GB, free: 2.168 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.649e-05/0.8269, allocations: 89.86 kB / 0.5849 GB, free: 2.07 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.827, allocations: 26.41 kB / 0.585 GB, free: 2.039 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.083e-05/0.827, allocations: 84.95 kB / 0.5851 GB, free: 1.953 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.827, allocations: 5.031 kB / 0.5851 GB, free: 1.949 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-06/0.8271, allocations: 0 / 0.5851 GB, free: 1.949 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 7.336e-05/0.8271, allocations: 315.7 kB / 0.5854 GB, free: 1.633 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.331e-05/0.8272, allocations: 4.75 kB / 0.5854 GB, free: 1.629 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.403e-05/0.8272, allocations: 6.141 kB / 0.5854 GB, free: 1.625 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.434e-05/0.8272, allocations: 5.859 kB / 0.5854 GB, free: 1.621 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/0.8273, allocations: 0 / 0.5854 GB, free: 1.621 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.298e-05/0.8274, allocations: 32.06 kB / 0.5854 GB, free: 1.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.782e-05/0.8274, allocations: 4.906 kB / 0.5854 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.426e-06/0.8274, allocations: 1.328 kB / 0.5854 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.727e-05/0.8275, allocations: 0 / 0.5854 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.904e-05/0.8275, allocations: 2.672 kB / 0.5854 GB, free: 1.59 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.8276, allocations: 5.062 kB / 0.5854 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.193e-05/0.8276, allocations: 0.6562 kB / 0.5854 GB, free: 1.586 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.136e-05/0.8276, allocations: 1.031 kB / 0.5854 GB, free: 1.586 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 9.943e-05/0.8277, allocations: 111.9 kB / 0.5855 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.067e-05/0.8278, allocations: 0 / 0.5855 GB, free: 1.469 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001385/0.8279, allocations: 43.42 kB / 0.5856 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.37e-06/0.8279, allocations: 0.75 kB / 0.5856 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.8279, allocations: 0 / 0.5856 GB, free: 1.426 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.292e-06/0.828, allocations: 5.703 kB / 0.5856 GB, free: 1.422 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.14e-05/0.8281, allocations: 148.5 kB / 0.5857 GB, free: 1.23 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.8281, allocations: 3.953 kB / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.479e-05/0.8281, allocations: 2.859 kB / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.8281, allocations: 0 / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.278e-06/0.8281, allocations: 0.7969 kB / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.365e-06/0.8282, allocations: 0.9688 kB / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.8282, allocations: 0 / 0.5857 GB, free: 1.227 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001153/0.8283, allocations: 71.16 kB / 0.5858 GB, free: 1.148 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.8283, allocations: 82.34 kB / 0.5859 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.538e-05/0.8284, allocations: 1.703 kB / 0.5859 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/0.8284, allocations: 0 / 0.5859 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.118e-05/0.8284, allocations: 1.781 kB / 0.5859 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.8285, allocations: 1.469 kB / 0.5859 GB, free: 1.051 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.864e-05/0.8285, allocations: 75.28 kB / 0.5859 GB, free: 0.9766 MB / 430.1 MB Notification: Performance of sort global known variables: time 3.5e-07/0.8285, allocations: 3.938 kB / 0.586 GB, free: 0.9727 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004195/0.8289, allocations: 14.69 kB / 0.586 GB, free: 0.9688 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.0005429/0.8295, allocations: 0.6154 MB / 0.5866 GB, free: 376 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 8.711e-05/0.8296, allocations: 12.42 kB / 0.5866 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.8296, allocations: 0 / 0.5866 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 1.44e-05/0.8296, allocations: 2.875 kB / 0.5866 GB, free: 368 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001465/0.8298, allocations: 4.703 kB / 0.5866 GB, free: 364 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004192/0.8302, allocations: 107.1 kB / 0.5867 GB, free: 228 kB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003641/0.8306, allocations: 0.6747 MB / 0.5873 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 2.416e-05/0.8307, allocations: 0.7031 kB / 0.5873 GB, free: 15.53 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.337e-05/0.8307, allocations: 8.406 kB / 0.5874 GB, free: 15.52 MB / 446.1 MB Notification: Performance of SimCode: time 4.8e-07/0.8307, allocations: 128 / 0.5874 GB, free: 15.52 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0185/0.8492, allocations: 0.9373 MB / 0.5883 GB, free: 15.38 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002871/0.8496, allocations: 175.9 kB / 0.5884 GB, free: 15.14 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.565/3.414, allocations: 0.625 kB / 0.5884 GB, free: 15.14 MB / 446.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1) Environment - environmentSimulation: