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.007726/0.007727, allocations: 103.1 kB / 15.74 MB, free: 6.059 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.001847/0.001847, allocations: 190.8 kB / 16.67 MB, free: 5.969 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.318/1.318, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8019/0.8019, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 65.31 kB / 0.5852 GB, free: 21.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1502/0.1515, allocations: 80.93 MB / 0.6642 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001638/0.1532, allocations: 0.5719 MB / 0.6648 GB, free: 5.699 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004552/0.1536, allocations: 206.2 kB / 0.665 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.292e-05/0.1537, allocations: 0 / 0.665 GB, free: 5.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.748e-05/0.1537, allocations: 3.938 kB / 0.665 GB, free: 5.496 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.83e-06/0.1537, allocations: 4 kB / 0.665 GB, free: 5.492 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003907/0.1541, allocations: 55.81 kB / 0.665 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.337e-05/0.1542, allocations: 4 kB / 0.665 GB, free: 5.434 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.687e-05/0.1542, allocations: 4 kB / 0.665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.314e-05/0.1542, allocations: 0 / 0.665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.105e-05/0.1543, allocations: 0 / 0.665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.152e-06/0.1543, allocations: 0 / 0.665 GB, free: 5.43 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001775/0.1545, allocations: 67.92 kB / 0.6651 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.885e-06/0.1545, allocations: 0 / 0.6651 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.722e-05/0.1545, allocations: 0 / 0.6651 GB, free: 5.363 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001273/0.1546, allocations: 44.03 kB / 0.6651 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1546, allocations: 0 / 0.6651 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.372e-06/0.1547, allocations: 0 / 0.6651 GB, free: 5.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 5.09e-06/0.1547, allocations: 0 / 0.6651 GB, free: 5.32 MB / 0.4981 GB 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.0002987/0.155, allocations: 319.5 kB / 0.6654 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.155, allocations: 9.109 kB / 0.6654 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.241e-05/0.155, allocations: 34.73 kB / 0.6655 GB, free: 4.906 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.041e-05/0.1551, allocations: 4.938 kB / 0.6655 GB, free: 4.902 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.629e-05/0.1552, allocations: 160.4 kB / 0.6656 GB, free: 4.707 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.143e-06/0.1552, allocations: 4.375 kB / 0.6656 GB, free: 4.703 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.1552, allocations: 4.359 kB / 0.6656 GB, free: 4.699 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.178e-05/0.1553, allocations: 26.27 kB / 0.6657 GB, free: 4.668 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1553, allocations: 3.938 kB / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.783e-06/0.1553, allocations: 0 / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.108e-06/0.1553, allocations: 0 / 0.6657 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.067e-05/0.1554, allocations: 7.938 kB / 0.6657 GB, free: 4.656 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000142/0.1555, allocations: 153.7 kB / 0.6658 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.02e-05/0.1556, allocations: 18.61 kB / 0.6658 GB, free: 4.43 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.571e-05/0.1556, allocations: 4.859 kB / 0.6658 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007774/0.1564, allocations: 461.5 kB / 0.6663 GB, free: 3.879 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.167e-05/0.1564, allocations: 30.56 kB / 0.6663 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.1564, allocations: 0 / 0.6663 GB, free: 3.84 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001278/0.1565, allocations: 41.58 kB / 0.6664 GB, free: 3.793 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.112e-05/0.1566, allocations: 51.41 kB / 0.6664 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.059e-05/0.1566, allocations: 89.86 kB / 0.6665 GB, free: 3.633 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.1566, allocations: 25.7 kB / 0.6665 GB, free: 3.602 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 2.384e-05/0.1566, allocations: 80.27 kB / 0.6666 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.145e-05/0.1567, allocations: 7.984 kB / 0.6666 GB, free: 3.512 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.827e-05/0.1567, allocations: 21.66 kB / 0.6666 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001165/0.1568, allocations: 310.8 kB / 0.6669 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.028e-05/0.1569, allocations: 0 / 0.6669 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.52e-06/0.1569, allocations: 0 / 0.6669 GB, free: 3.172 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.1569, allocations: 8.859 kB / 0.6669 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.077e-06/0.1569, allocations: 0 / 0.6669 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.249e-05/0.157, allocations: 45.59 kB / 0.667 GB, free: 3.109 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.24e-05/0.157, allocations: 11.98 kB / 0.667 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.157, allocations: 3.938 kB / 0.667 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.601e-05/0.157, allocations: 0 / 0.667 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.782e-05/0.1571, allocations: 0 / 0.667 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.511e-06/0.1571, allocations: 0 / 0.667 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.364e-05/0.1571, allocations: 8 kB / 0.667 GB, free: 3.086 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-06/0.1571, allocations: 4 kB / 0.667 GB, free: 3.082 MB / 0.4981 GB 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.095e-05/0.1572, allocations: 105.8 kB / 0.6671 GB, free: 2.969 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.364e-06/0.1572, allocations: 4.031 kB / 0.6671 GB, free: 2.965 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-05/0.1573, allocations: 44.69 kB / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1573, allocations: 0 / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.227e-06/0.1573, allocations: 0 / 0.6671 GB, free: 2.91 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1573, allocations: 4 kB / 0.6671 GB, free: 2.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.935e-05/0.1574, allocations: 145.7 kB / 0.6673 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.1574, allocations: 0 / 0.6673 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.284e-05/0.1575, allocations: 0 / 0.6673 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1575, allocations: 0 / 0.6673 GB, free: 2.715 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.636e-06/0.1575, allocations: 11.92 kB / 0.6673 GB, free: 2.703 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1575, allocations: 4.031 kB / 0.6673 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.1575, allocations: 0 / 0.6673 GB, free: 2.699 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.306e-05/0.1576, allocations: 49.14 kB / 0.6673 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.713e-05/0.1576, allocations: 77.11 kB / 0.6674 GB, free: 2.539 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.418e-05/0.1576, allocations: 7.938 kB / 0.6674 GB, free: 2.531 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.636e-06/0.1576, allocations: 4 kB / 0.6674 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.625e-05/0.1577, allocations: 7.922 kB / 0.6674 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1577, allocations: 32 / 0.6674 GB, free: 2.52 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 2.646e-05/0.1577, allocations: 79.28 kB / 0.6675 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1577, allocations: 0 / 0.6675 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002098/0.1579, allocations: 15.94 kB / 0.6675 GB, free: 2.426 MB / 0.4981 GB 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.0004105/0.1583, allocations: 0.6137 MB / 0.6681 GB, free: 1.781 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 7.003e-05/0.1584, allocations: 8 kB / 0.6681 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1584, allocations: 0 / 0.6681 GB, free: 1.773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 9.278e-06/0.1584, allocations: 7.922 kB / 0.6681 GB, free: 1.766 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001315/0.1586, allocations: 7.938 kB / 0.6682 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002706/0.1588, allocations: 110.6 kB / 0.6683 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002014/0.1591, allocations: 0.6729 MB / 0.6689 GB, free: 0.9102 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 1.174e-05/0.1591, allocations: 3.984 kB / 0.6689 GB, free: 0.9062 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.7e-05/0.1591, allocations: 11.44 kB / 0.6689 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of SimCode: time 4.81e-07/0.1591, allocations: 0 / 0.6689 GB, free: 0.8945 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01708/0.1762, allocations: 1.132 MB / 0.67 GB, free: 15.83 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.649/7.826, allocations: 4.656 kB / 0.67 GB, free: 15.83 MB / 0.5137 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)