Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-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.BesselJ0,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="IDEAS_dev_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.001127/0.001127, 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.001241/0.001241, allocations: 196.2 kB / 16.53 MB, free: 6.699 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.379/1.379, 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-master/package.mo): time 0.9618/0.9618, allocations: 135.1 MB / 425.5 MB, free: 12.03 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001346/0.001347, allocations: 64.02 kB / 0.5054 GB, free: 5.223 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1578/0.1591, allocations: 80.93 MB / 0.5845 GB, free: 4.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ0): time 0.001959/0.1611, allocations: 0.5726 MB / 0.585 GB, free: 3.879 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005003/0.1617, allocations: 191.3 kB / 0.5852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.746e-05/0.1617, allocations: 0 / 0.5852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1617, allocations: 0 / 0.5852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 5.941e-06/0.1618, allocations: 0 / 0.5852 GB, free: 3.691 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004147/0.1622, allocations: 47.83 kB / 0.5853 GB, free: 3.645 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.503e-05/0.1622, allocations: 4 kB / 0.5853 GB, free: 3.641 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.064e-05/0.1623, allocations: 4 kB / 0.5853 GB, free: 3.637 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.482e-05/0.1623, allocations: 4 kB / 0.5853 GB, free: 3.633 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.963e-05/0.1623, allocations: 3.984 kB / 0.5853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.865e-06/0.1623, allocations: 0 / 0.5853 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002028/0.1625, allocations: 55.94 kB / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.077e-05/0.1626, allocations: 0 / 0.5853 GB, free: 3.574 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.047e-05/0.1626, allocations: 3.938 kB / 0.5853 GB, free: 3.57 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001195/0.1627, allocations: 35.95 kB / 0.5854 GB, free: 3.535 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.529e-06/0.1627, allocations: 0 / 0.5854 GB, free: 3.535 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.974e-06/0.1627, allocations: 0 / 0.5854 GB, free: 3.535 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.237e-06/0.1627, allocations: 4 kB / 0.5854 GB, free: 3.531 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.000321/0.1631, allocations: 315.6 kB / 0.5857 GB, free: 3.172 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.202e-05/0.1631, allocations: 12.03 kB / 0.5857 GB, free: 3.16 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.347e-05/0.1632, allocations: 34.69 kB / 0.5857 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.815e-05/0.1632, allocations: 0.9375 kB / 0.5857 GB, free: 3.117 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001132/0.1633, allocations: 164.4 kB / 0.5859 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.1633, allocations: 384 / 0.5859 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/0.1634, allocations: 384 / 0.5859 GB, free: 2.918 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.1635, allocations: 34.27 kB / 0.5859 GB, free: 2.879 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.1635, allocations: 7.875 kB / 0.5859 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.486e-06/0.1635, allocations: 0 / 0.5859 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.691e-06/0.1635, allocations: 0 / 0.5859 GB, free: 2.871 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.512e-05/0.1635, allocations: 11.92 kB / 0.5859 GB, free: 2.859 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001316/0.1637, allocations: 145.7 kB / 0.5861 GB, free: 2.668 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.907e-05/0.1637, allocations: 18.58 kB / 0.5861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.1638, allocations: 12.95 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007782/0.1645, allocations: 453.5 kB / 0.5865 GB, free: 2.09 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.351e-05/0.1646, allocations: 30.56 kB / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.1646, allocations: 0 / 0.5866 GB, free: 2.051 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001379/0.1647, allocations: 45.58 kB / 0.5866 GB, free: 2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.458e-05/0.1648, allocations: 55.53 kB / 0.5867 GB, free: 1.934 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.86e-05/0.1648, allocations: 89.86 kB / 0.5867 GB, free: 1.836 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.265e-05/0.1648, allocations: 25.7 kB / 0.5868 GB, free: 1.805 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.54e-05/0.1649, allocations: 80.14 kB / 0.5868 GB, free: 1.723 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.142e-05/0.1649, allocations: 3.906 kB / 0.5868 GB, free: 1.719 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.19e-05/0.1649, allocations: 17.7 kB / 0.5869 GB, free: 1.695 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.165, allocations: 310.8 kB / 0.5872 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.041e-05/0.1651, allocations: 4 kB / 0.5872 GB, free: 1.379 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.833e-06/0.1651, allocations: 4 kB / 0.5872 GB, free: 1.375 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.967e-05/0.1651, allocations: 12.8 kB / 0.5872 GB, free: 1.359 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.1651, allocations: 0 / 0.5872 GB, free: 1.359 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.449e-05/0.1652, allocations: 29.7 kB / 0.5872 GB, free: 1.324 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.1652, allocations: 10.34 kB / 0.5872 GB, free: 1.316 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.604e-06/0.1652, allocations: 3.938 kB / 0.5872 GB, free: 1.312 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.647e-05/0.1652, allocations: 3.984 kB / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.766e-05/0.1653, allocations: 0 / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.518e-06/0.1653, allocations: 0 / 0.5872 GB, free: 1.309 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.648e-06/0.1653, allocations: 4.094 kB / 0.5872 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.903e-06/0.1653, allocations: 4 kB / 0.5872 GB, free: 1.301 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 7.311e-05/0.1654, allocations: 109.8 kB / 0.5873 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.003e-05/0.1654, allocations: 7.984 kB / 0.5873 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.359e-05/0.1655, allocations: 44.69 kB / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1655, allocations: 0 / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.1655, allocations: 0 / 0.5874 GB, free: 1.125 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.797e-06/0.1655, allocations: 4 kB / 0.5874 GB, free: 1.121 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001009/0.1656, allocations: 141.7 kB / 0.5875 GB, free: 0.9336 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.433e-06/0.1656, allocations: 4 kB / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.405e-05/0.1657, allocations: 0 / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.1657, allocations: 0 / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.907e-06/0.1657, allocations: 7.938 kB / 0.5875 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.136e-06/0.1657, allocations: 3.984 kB / 0.5875 GB, free: 0.918 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.563e-06/0.1657, allocations: 3.938 kB / 0.5875 GB, free: 0.9141 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.907e-05/0.1658, allocations: 53.14 kB / 0.5876 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.692e-05/0.1658, allocations: 81.14 kB / 0.5877 GB, free: 0.7461 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.376e-05/0.1658, allocations: 11.88 kB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.634e-06/0.1658, allocations: 0 / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.475e-05/0.1659, allocations: 7.984 kB / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-06/0.1659, allocations: 0 / 0.5877 GB, free: 0.7266 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.985e-05/0.1659, allocations: 75.28 kB / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1659, allocations: 0 / 0.5878 GB, free: 0.6523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002075/0.1661, allocations: 16 kB / 0.5878 GB, free: 0.6367 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.0004649/0.1666, allocations: 0.6088 MB / 0.5884 GB, free: 16 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.556e-05/0.1667, allocations: 11.94 kB / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/0.1667, allocations: 0 / 0.5884 GB, free: 15.98 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.331e-06/0.1667, allocations: 4.094 kB / 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.0001333/0.1668, allocations: 4 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.000345/0.1672, allocations: 116.2 kB / 0.5885 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002272/0.1674, allocations: 0.669 MB / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.101e-05/0.1674, allocations: 0 / 0.5892 GB, free: 15.13 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.695e-05/0.1675, allocations: 7.438 kB / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.4e-07/0.1675, allocations: 0 / 0.5892 GB, free: 15.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01622/0.1837, allocations: 1.116 MB / 0.5903 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.165/7.349, allocations: 7.312 kB / 0.5903 GB, free: 14.08 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0_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_BesselJ0.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)