Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="IDEAS_dev_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.001092/0.001092, allocations: 108 kB / 15.61 MB, free: 152 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.001149/0.001149, allocations: 196.1 kB / 16.53 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.355/1.355, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9481/0.9481, allocations: 135.1 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 68.11 kB / 0.5055 GB, free: 5.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1559/0.1575, allocations: 80.93 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001959/0.1595, allocations: 0.5585 MB / 0.585 GB, free: 3.906 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005206/0.16, allocations: 199.3 kB / 0.5852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.648e-05/0.1601, allocations: 0 / 0.5852 GB, free: 3.711 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.556e-05/0.1601, allocations: 7.938 kB / 0.5852 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.06e-06/0.1601, allocations: 0 / 0.5852 GB, free: 3.703 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004066/0.1605, allocations: 55.81 kB / 0.5853 GB, free: 3.648 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.713e-05/0.1606, allocations: 4 kB / 0.5853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.1606, allocations: 4 kB / 0.5853 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.496e-05/0.1606, allocations: 0 / 0.5853 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.1607, allocations: 0 / 0.5853 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.345e-06/0.1607, allocations: 0 / 0.5853 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001854/0.1609, allocations: 67.86 kB / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 8.977e-06/0.1609, allocations: 0 / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.562e-05/0.1609, allocations: 0 / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001335/0.161, allocations: 35.94 kB / 0.5854 GB, free: 3.539 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.161, allocations: 0 / 0.5854 GB, free: 3.539 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.1611, allocations: 0 / 0.5854 GB, free: 3.539 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.501e-06/0.1611, allocations: 4 kB / 0.5854 GB, free: 3.535 MB / 494.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.0003746/0.1614, allocations: 323.5 kB / 0.5857 GB, free: 3.168 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.645e-05/0.1615, allocations: 8.031 kB / 0.5857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.097e-05/0.1615, allocations: 30.75 kB / 0.5857 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.119e-05/0.1616, allocations: 0.9375 kB / 0.5857 GB, free: 3.121 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.1617, allocations: 172.3 kB / 0.5859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.839e-06/0.1617, allocations: 384 / 0.5859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.951e-06/0.1617, allocations: 384 / 0.5859 GB, free: 2.914 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.389e-05/0.1618, allocations: 30.27 kB / 0.5859 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.185e-06/0.1618, allocations: 3.938 kB / 0.5859 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.562e-06/0.1618, allocations: 0 / 0.5859 GB, free: 2.875 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/0.1618, allocations: 4 kB / 0.5859 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.843e-05/0.1619, allocations: 4 kB / 0.5859 GB, free: 2.867 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001296/0.162, allocations: 145.7 kB / 0.5861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.499e-05/0.162, allocations: 22.55 kB / 0.5861 GB, free: 2.645 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.489e-05/0.162, allocations: 4.859 kB / 0.5861 GB, free: 2.637 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007372/0.1628, allocations: 461.5 kB / 0.5865 GB, free: 2.094 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.229e-05/0.1628, allocations: 30.56 kB / 0.5866 GB, free: 2.055 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.092e-06/0.1628, allocations: 4 kB / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001183/0.163, allocations: 33.73 kB / 0.5866 GB, free: 2.012 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.984e-05/0.163, allocations: 55.44 kB / 0.5867 GB, free: 1.945 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.509e-05/0.163, allocations: 97.84 kB / 0.5868 GB, free: 1.84 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.1631, allocations: 25.7 kB / 0.5868 GB, free: 1.809 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.827e-05/0.1631, allocations: 84.08 kB / 0.5869 GB, free: 1.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.736e-05/0.1631, allocations: 3.906 kB / 0.5869 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.746e-05/0.1632, allocations: 13.72 kB / 0.5869 GB, free: 1.699 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.752e-05/0.1633, allocations: 310.8 kB / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.907e-06/0.1633, allocations: 0 / 0.5872 GB, free: 1.387 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.039e-06/0.1633, allocations: 7.938 kB / 0.5872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.436e-05/0.1633, allocations: 12.86 kB / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.1633, allocations: 0 / 0.5872 GB, free: 1.363 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.633e-05/0.1634, allocations: 33.69 kB / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.235e-05/0.1634, allocations: 8 kB / 0.5872 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/0.1634, allocations: 7.922 kB / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.1634, allocations: 4 kB / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.249e-05/0.1635, allocations: 3.938 kB / 0.5872 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1635, allocations: 4.094 kB / 0.5873 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.1635, allocations: 7.938 kB / 0.5873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.638e-06/0.1635, allocations: 0 / 0.5873 GB, free: 1.289 MB / 494.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 6.207e-05/0.1636, allocations: 105.8 kB / 0.5874 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.981e-06/0.1636, allocations: 0 / 0.5874 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.259e-05/0.1637, allocations: 44.75 kB / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.443e-06/0.1637, allocations: 0 / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.1637, allocations: 4 kB / 0.5874 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.823e-06/0.1637, allocations: 0 / 0.5874 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.127e-05/0.1638, allocations: 145.7 kB / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.1638, allocations: 0 / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.4e-05/0.1638, allocations: 3.984 kB / 0.5875 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.594e-06/0.1638, allocations: 4 kB / 0.5876 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.1638, allocations: 3.938 kB / 0.5876 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.1638, allocations: 0 / 0.5876 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.1638, allocations: 3.938 kB / 0.5876 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.728e-05/0.1639, allocations: 57.14 kB / 0.5876 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.086e-05/0.1639, allocations: 77.11 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.144e-05/0.164, allocations: 11.92 kB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.523e-06/0.164, allocations: 0 / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.467e-06/0.164, allocations: 0 / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.164, allocations: 0 / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.716e-05/0.164, allocations: 75.28 kB / 0.5878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of sort global known variables: time 9e-08/0.164, allocations: 0 / 0.5878 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001994/0.1642, allocations: 16 kB / 0.5878 GB, free: 0.6445 MB / 494.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.0004052/0.1646, allocations: 0.6127 MB / 0.5884 GB, free: 0 / 494.1 MB Notification: Performance of simCode: created initialization part: time 8.186e-05/0.1647, allocations: 8.047 kB / 0.5884 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.983e-06/0.1647, allocations: 4.094 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.971e-06/0.1648, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001421/0.1649, allocations: 10.44 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.1652, allocations: 118.8 kB / 0.5885 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002073/0.1654, allocations: 0.6767 MB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.136e-05/0.1654, allocations: 0 / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.846e-05/0.1654, allocations: 15.38 kB / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of SimCode: time 1.433e-06/0.1655, allocations: 0 / 0.5892 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01792/0.1834, allocations: 1.126 MB / 0.5903 GB, free: 14.07 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.318, allocations: 7.922 kB / 0.5903 GB, free: 14.06 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.sim & python3 -m fmpy simulate --output-file IDEAS_dev_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_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)