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.004658/0.004658, allocations: 101 kB / 15.73 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.001308/0.001308, allocations: 194 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.412/1.412, 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/package.mo): time 0.8467/0.8467, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00207/0.00207, allocations: 68.08 kB / 0.5809 GB, free: 24.16 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1395/0.1416, allocations: 80.21 MB / 0.6592 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.00175/0.1434, allocations: 0.5732 MB / 0.6598 GB, free: 10.25 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004812/0.1439, allocations: 206.2 kB / 0.66 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.1439, allocations: 0 / 0.66 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.577e-05/0.1439, allocations: 0 / 0.66 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.039e-06/0.144, allocations: 0 / 0.66 GB, free: 10.05 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003656/0.1443, allocations: 55.83 kB / 0.66 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.375e-05/0.1444, allocations: 0 / 0.66 GB, free: 9.996 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.965e-05/0.1444, allocations: 3.984 kB / 0.6601 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.102e-05/0.1444, allocations: 4 kB / 0.6601 GB, free: 9.988 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.826e-05/0.1445, allocations: 3.984 kB / 0.6601 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.76e-06/0.1445, allocations: 0 / 0.6601 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001676/0.1447, allocations: 59.89 kB / 0.6601 GB, free: 9.926 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.033e-06/0.1447, allocations: 4 kB / 0.6601 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.1447, allocations: 0 / 0.6601 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001136/0.1448, allocations: 36.16 kB / 0.6602 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.1448, allocations: 0 / 0.6602 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.263e-06/0.1448, allocations: 0 / 0.6602 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.608e-06/0.1448, allocations: 0 / 0.6602 GB, free: 9.887 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.0003202/0.1452, allocations: 327.5 kB / 0.6605 GB, free: 9.516 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.1452, allocations: 8.031 kB / 0.6605 GB, free: 9.508 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.429e-05/0.1452, allocations: 34.69 kB / 0.6605 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.767e-05/0.1453, allocations: 0.9375 kB / 0.6605 GB, free: 9.465 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000112/0.1454, allocations: 164.4 kB / 0.6607 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.1454, allocations: 384 / 0.6607 GB, free: 9.266 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.112e-05/0.1454, allocations: 12.34 kB / 0.6607 GB, free: 9.254 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.168e-05/0.1455, allocations: 26.27 kB / 0.6607 GB, free: 9.223 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.378e-06/0.1455, allocations: 3.938 kB / 0.6607 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.68e-06/0.1455, allocations: 0 / 0.6607 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.448e-06/0.1455, allocations: 0 / 0.6607 GB, free: 9.219 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.758e-05/0.1456, allocations: 7.938 kB / 0.6607 GB, free: 9.211 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000144/0.1457, allocations: 149.7 kB / 0.6609 GB, free: 9.016 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.685e-05/0.1458, allocations: 18.52 kB / 0.6609 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.031e-05/0.1458, allocations: 12.94 kB / 0.6609 GB, free: 8.973 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007566/0.1465, allocations: 453.5 kB / 0.6613 GB, free: 8.438 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.84e-05/0.1466, allocations: 34.56 kB / 0.6614 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.1466, allocations: 0 / 0.6614 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001331/0.1467, allocations: 37.62 kB / 0.6614 GB, free: 8.352 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.886e-05/0.1468, allocations: 59.34 kB / 0.6614 GB, free: 8.281 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.905e-05/0.1468, allocations: 89.86 kB / 0.6615 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.1469, allocations: 29.7 kB / 0.6616 GB, free: 8.148 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 3.197e-05/0.1469, allocations: 80.14 kB / 0.6616 GB, free: 8.066 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.168e-05/0.1469, allocations: 3.953 kB / 0.6616 GB, free: 8.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.724e-05/0.147, allocations: 13.84 kB / 0.6617 GB, free: 8.043 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001322/0.1471, allocations: 314.8 kB / 0.662 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.356e-06/0.1471, allocations: 0 / 0.662 GB, free: 7.727 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.639e-06/0.1471, allocations: 3.984 kB / 0.662 GB, free: 7.723 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.485e-05/0.1471, allocations: 12.8 kB / 0.662 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.1472, allocations: 0 / 0.662 GB, free: 7.707 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.42e-05/0.1472, allocations: 37.64 kB / 0.662 GB, free: 7.664 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1472, allocations: 8.094 kB / 0.662 GB, free: 7.656 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1472, allocations: 7.938 kB / 0.662 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.1473, allocations: 0 / 0.662 GB, free: 7.648 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.522e-05/0.1473, allocations: 4 kB / 0.662 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.1473, allocations: 0 / 0.662 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.526e-06/0.1473, allocations: 0 / 0.662 GB, free: 7.645 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/0.1473, allocations: 4 kB / 0.662 GB, free: 7.641 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.767e-05/0.1474, allocations: 110.7 kB / 0.6621 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.172e-06/0.1474, allocations: 0 / 0.6621 GB, free: 7.523 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.344e-05/0.1475, allocations: 44.77 kB / 0.6622 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.1475, allocations: 0 / 0.6622 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.186e-06/0.1475, allocations: 0 / 0.6622 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.525e-06/0.1475, allocations: 0 / 0.6622 GB, free: 7.469 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001065/0.1476, allocations: 149.7 kB / 0.6623 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.1476, allocations: 0 / 0.6623 GB, free: 7.273 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.663e-05/0.1477, allocations: 3.938 kB / 0.6623 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.1477, allocations: 0 / 0.6623 GB, free: 7.27 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.494e-06/0.1477, allocations: 3.938 kB / 0.6623 GB, free: 7.266 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1477, allocations: 4 kB / 0.6623 GB, free: 7.262 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.1477, allocations: 4.031 kB / 0.6623 GB, free: 7.258 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.821e-05/0.1478, allocations: 57.12 kB / 0.6624 GB, free: 7.184 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.036e-05/0.1478, allocations: 77.11 kB / 0.6625 GB, free: 7.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.021e-05/0.1478, allocations: 7.875 kB / 0.6625 GB, free: 7.082 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.869e-06/0.1478, allocations: 4 kB / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.727e-06/0.1479, allocations: 0 / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.974e-06/0.1479, allocations: 0 / 0.6625 GB, free: 7.078 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.682e-05/0.1479, allocations: 79.31 kB / 0.6625 GB, free: 7 MB / 0.4981 GB Notification: Performance of sort global known variables: time 9e-08/0.1479, allocations: 0 / 0.6625 GB, free: 7 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001978/0.1481, allocations: 15.94 kB / 0.6626 GB, free: 6.984 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.0004806/0.1486, allocations: 0.624 MB / 0.6632 GB, free: 6.328 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.157e-05/0.1487, allocations: 4 kB / 0.6632 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.1487, allocations: 0 / 0.6632 GB, free: 6.324 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.841e-06/0.1487, allocations: 7.938 kB / 0.6632 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001144/0.1488, allocations: 0 / 0.6632 GB, free: 6.316 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.1491, allocations: 114.5 kB / 0.6633 GB, free: 6.164 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002864/0.1494, allocations: 0.6691 MB / 0.6639 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 9.908e-06/0.1494, allocations: 4 kB / 0.6639 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.457e-05/0.1494, allocations: 7.438 kB / 0.664 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of SimCode: time 3.3e-07/0.1494, allocations: 0 / 0.664 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02156/0.171, allocations: 1.137 MB / 0.6651 GB, free: 4.406 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.793/7.964, allocations: 3 kB / 0.6651 GB, free: 4.406 MB / 0.4981 GB (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)