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.001055/0.001055, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001115/0.001115, allocations: 192.8 kB / 16.53 MB, free: 6.391 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.36/1.36, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8428/0.8428, allocations: 132.2 MB / 422.6 MB, free: 1.785 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002173/0.002173, allocations: 72.56 kB / 0.5019 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3526/0.3548, allocations: 80.19 MB / 0.5802 GB, free: 4.598 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001651/0.3565, allocations: 0.5815 MB / 0.5808 GB, free: 4.234 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004078/0.3569, allocations: 192 kB / 0.581 GB, free: 4.109 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.101e-05/0.3569, allocations: 3.938 kB / 0.581 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.439e-05/0.3569, allocations: 0.7812 kB / 0.581 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 5.44e-06/0.357, allocations: 0 / 0.581 GB, free: 4.105 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.3573, allocations: 60.38 kB / 0.581 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 3.532e-05/0.3574, allocations: 0.75 kB / 0.581 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.024e-05/0.3574, allocations: 2.484 kB / 0.581 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.28e-05/0.3574, allocations: 0.7031 kB / 0.581 GB, free: 4.078 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.708e-05/0.3574, allocations: 4.562 kB / 0.581 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 5.641e-06/0.3575, allocations: 0.6562 kB / 0.581 GB, free: 4.074 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001739/0.3576, allocations: 66.03 kB / 0.5811 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 6.963e-06/0.3576, allocations: 0 / 0.5811 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 1.339e-05/0.3577, allocations: 0.8125 kB / 0.5811 GB, free: 4.051 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001126/0.3578, allocations: 40.47 kB / 0.5811 GB, free: 4.035 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3578, allocations: 0 / 0.5811 GB, free: 4.035 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.3578, allocations: 0 / 0.5811 GB, free: 4.035 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.3578, allocations: 1.125 kB / 0.5811 GB, free: 4.035 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.0002069/0.358, allocations: 315.4 kB / 0.5814 GB, free: 3.684 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.581e-05/0.3581, allocations: 13.72 kB / 0.5814 GB, free: 3.68 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.275e-05/0.3581, allocations: 31.84 kB / 0.5815 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.258e-05/0.3581, allocations: 1.547 kB / 0.5815 GB, free: 3.641 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 4.535e-05/0.3582, allocations: 161.7 kB / 0.5816 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.3582, allocations: 1.656 kB / 0.5816 GB, free: 3.445 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.14e-06/0.3582, allocations: 8.25 kB / 0.5816 GB, free: 3.438 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.261e-05/0.3583, allocations: 33.77 kB / 0.5817 GB, free: 3.402 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.3583, allocations: 3.938 kB / 0.5817 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.781e-06/0.3583, allocations: 0 / 0.5817 GB, free: 3.398 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.3583, allocations: 5.281 kB / 0.5817 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.82e-05/0.3583, allocations: 1.984 kB / 0.5817 GB, free: 3.395 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.92e-05/0.3584, allocations: 144.1 kB / 0.5818 GB, free: 3.207 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 2.834e-05/0.3584, allocations: 16.34 kB / 0.5818 GB, free: 3.184 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.352e-05/0.3585, allocations: 14.3 kB / 0.5818 GB, free: 3.168 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00063/0.3591, allocations: 462.2 kB / 0.5823 GB, free: 2.691 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.71e-05/0.3591, allocations: 32.14 kB / 0.5823 GB, free: 2.652 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.3591, allocations: 1.219 kB / 0.5823 GB, free: 2.652 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001085/0.3593, allocations: 39.66 kB / 0.5824 GB, free: 2.613 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.054e-05/0.3593, allocations: 51.41 kB / 0.5824 GB, free: 2.551 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.61e-05/0.3593, allocations: 89.86 kB / 0.5825 GB, free: 2.453 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 5.611e-06/0.3593, allocations: 30.95 kB / 0.5825 GB, free: 2.418 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.458e-06/0.3593, allocations: 80.8 kB / 0.5826 GB, free: 2.336 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.086e-05/0.3594, allocations: 4.781 kB / 0.5826 GB, free: 2.332 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.203e-05/0.3594, allocations: 11.38 kB / 0.5826 GB, free: 2.316 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 3.871e-05/0.3594, allocations: 312.5 kB / 0.5829 GB, free: 2.004 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.897e-06/0.3594, allocations: 8.656 kB / 0.5829 GB, free: 1.996 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.3594, allocations: 1.797 kB / 0.5829 GB, free: 1.996 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.326e-05/0.3595, allocations: 16.12 kB / 0.5829 GB, free: 1.98 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.3595, allocations: 1.156 kB / 0.5829 GB, free: 1.98 MB / 430.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.23e-05/0.3595, allocations: 31.52 kB / 0.583 GB, free: 1.949 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.3595, allocations: 7.344 kB / 0.583 GB, free: 1.949 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.089e-06/0.3596, allocations: 4.5 kB / 0.583 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.3596, allocations: 1.312 kB / 0.583 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.637e-05/0.3596, allocations: 2 kB / 0.583 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3596, allocations: 0 / 0.583 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.034e-05/0.3596, allocations: 0 / 0.583 GB, free: 1.945 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.34e-06/0.3596, allocations: 6.188 kB / 0.583 GB, free: 1.941 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 3.932e-05/0.3597, allocations: 113 kB / 0.5831 GB, free: 1.824 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.923e-06/0.3597, allocations: 7.984 kB / 0.5831 GB, free: 1.816 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.403e-05/0.3598, allocations: 43.75 kB / 0.5831 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.3598, allocations: 1.375 kB / 0.5831 GB, free: 1.773 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3598, allocations: 3.938 kB / 0.5831 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.414e-06/0.3598, allocations: 0.75 kB / 0.5831 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.448e-05/0.3598, allocations: 144.4 kB / 0.5833 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.522e-06/0.3599, allocations: 0.6562 kB / 0.5833 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.097e-05/0.3599, allocations: 1.406 kB / 0.5833 GB, free: 1.582 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.3599, allocations: 6.031 kB / 0.5833 GB, free: 1.578 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.982e-06/0.3599, allocations: 3.938 kB / 0.5833 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.3599, allocations: 0 / 0.5833 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3599, allocations: 1.984 kB / 0.5833 GB, free: 1.574 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.86e-05/0.3599, allocations: 60.02 kB / 0.5834 GB, free: 1.504 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.583e-05/0.36, allocations: 78.69 kB / 0.5834 GB, free: 1.41 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.088e-05/0.36, allocations: 5.719 kB / 0.5834 GB, free: 1.406 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.073e-06/0.36, allocations: 4.031 kB / 0.5834 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.077e-05/0.36, allocations: 1.516 kB / 0.5834 GB, free: 1.402 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.36, allocations: 0.8438 kB / 0.5834 GB, free: 1.402 MB / 430.1 MB Notification: Performance of sorting global known variables: time 1.173e-05/0.36, allocations: 75.28 kB / 0.5835 GB, free: 1.328 MB / 430.1 MB Notification: Performance of sort global known variables: time 9e-08/0.36, allocations: 0 / 0.5835 GB, free: 1.328 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0001995/0.3602, allocations: 16.06 kB / 0.5835 GB, free: 1.324 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.0002983/0.3605, allocations: 0.6171 MB / 0.5841 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 6.102e-05/0.3606, allocations: 5.328 kB / 0.5841 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3606, allocations: 0 / 0.5841 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 8.256e-06/0.3606, allocations: 6.062 kB / 0.5841 GB, free: 0.7188 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.3608, allocations: 6.031 kB / 0.5842 GB, free: 0.7148 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002561/0.361, allocations: 117.1 kB / 0.5843 GB, free: 0.5742 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001338/0.3612, allocations: 0.6714 MB / 0.5849 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.768e-06/0.3612, allocations: 1.375 kB / 0.5849 GB, free: 15.88 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.126e-05/0.3612, allocations: 8.094 kB / 0.5849 GB, free: 15.87 MB / 446.1 MB Notification: Performance of SimCode: time 2.4e-07/0.3612, allocations: 0 / 0.5849 GB, free: 15.87 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01621/0.3774, allocations: 1.11 MB / 0.586 GB, free: 15.53 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.999/7.376, allocations: 3.906 kB / 0.586 GB, free: 15.53 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 & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)