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.005184/0.005184, allocations: 99.77 kB / 15.73 MB, free: 6.02 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.001368/0.001368, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.388/1.388, 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.821/0.821, allocations: 132.2 MB / 422.7 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001929/0.001929, allocations: 78.16 kB / 0.5809 GB, free: 24.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1483, allocations: 80.21 MB / 0.6592 GB, free: 10.71 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.BesselJ1): time 0.001625/0.1499, allocations: 0.58 MB / 0.6598 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0004563/0.1504, allocations: 198.2 kB / 0.66 GB, free: 9.945 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.168e-05/0.1504, allocations: 4 kB / 0.66 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 1.081e-05/0.1504, allocations: 0 / 0.66 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 5.33e-06/0.1505, allocations: 0 / 0.66 GB, free: 9.941 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003563/0.1508, allocations: 55.83 kB / 0.66 GB, free: 9.887 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 3.512e-05/0.1509, allocations: 3.984 kB / 0.6601 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.403e-05/0.1509, allocations: 0 / 0.6601 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.246e-05/0.1509, allocations: 0 / 0.6601 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 1.94e-05/0.1509, allocations: 0 / 0.6601 GB, free: 9.883 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.534e-06/0.151, allocations: 7.938 kB / 0.6601 GB, free: 9.875 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001557/0.1511, allocations: 55.94 kB / 0.6601 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.434e-06/0.1511, allocations: 0 / 0.6601 GB, free: 9.82 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 1.41e-05/0.1512, allocations: 7.984 kB / 0.6601 GB, free: 9.812 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001099/0.1513, allocations: 40.11 kB / 0.6602 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.797e-06/0.1513, allocations: 0 / 0.6602 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.423e-06/0.1513, allocations: 0 / 0.6602 GB, free: 9.773 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.659e-06/0.1513, allocations: 0 / 0.6602 GB, free: 9.773 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.0003305/0.1516, allocations: 319.5 kB / 0.6605 GB, free: 9.41 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.1517, allocations: 15.97 kB / 0.6605 GB, free: 9.395 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.129e-05/0.1517, allocations: 30.75 kB / 0.6605 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.929e-05/0.1517, allocations: 0.9375 kB / 0.6605 GB, free: 9.355 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001143/0.1519, allocations: 168.4 kB / 0.6607 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.1519, allocations: 384 / 0.6607 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.43e-06/0.1519, allocations: 384 / 0.6607 GB, free: 9.152 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.802e-05/0.152, allocations: 30.27 kB / 0.6607 GB, free: 9.117 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.097e-06/0.152, allocations: 3.938 kB / 0.6607 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.711e-06/0.152, allocations: 0 / 0.6607 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.152, allocations: 0 / 0.6607 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.67e-05/0.152, allocations: 0 / 0.6607 GB, free: 9.113 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001535/0.1522, allocations: 153.7 kB / 0.6608 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 3.913e-05/0.1522, allocations: 22.52 kB / 0.6609 GB, free: 8.883 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.459e-05/0.1523, allocations: 4.859 kB / 0.6609 GB, free: 8.875 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007919/0.1531, allocations: 461.5 kB / 0.6613 GB, free: 8.332 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.924e-05/0.1531, allocations: 34.56 kB / 0.6613 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.213e-06/0.1531, allocations: 0 / 0.6613 GB, free: 8.289 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001246/0.1532, allocations: 37.58 kB / 0.6614 GB, free: 8.246 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.512e-05/0.1533, allocations: 51.41 kB / 0.6614 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.196e-05/0.1533, allocations: 89.86 kB / 0.6615 GB, free: 8.086 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.599e-05/0.1533, allocations: 29.7 kB / 0.6615 GB, free: 8.051 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.128e-05/0.1534, allocations: 84.14 kB / 0.6616 GB, free: 7.965 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.1534, allocations: 3.953 kB / 0.6616 GB, free: 7.961 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.1535, allocations: 17.83 kB / 0.6616 GB, free: 7.938 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1536, allocations: 310.8 kB / 0.6619 GB, free: 7.625 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.157e-05/0.1536, allocations: 4 kB / 0.6619 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.1536, allocations: 0 / 0.6619 GB, free: 7.621 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.198e-05/0.1536, allocations: 8.797 kB / 0.662 GB, free: 7.609 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.1537, allocations: 4 kB / 0.662 GB, free: 7.605 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.17e-05/0.1537, allocations: 37.64 kB / 0.662 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.1537, allocations: 4 kB / 0.662 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.671e-06/0.1537, allocations: 8.031 kB / 0.662 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.134e-05/0.1538, allocations: 0 / 0.662 GB, free: 7.551 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.481e-05/0.1538, allocations: 7.984 kB / 0.662 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.877e-06/0.1538, allocations: 0 / 0.662 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.147e-06/0.1538, allocations: 0 / 0.662 GB, free: 7.543 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.649e-06/0.1538, allocations: 0 / 0.662 GB, free: 7.543 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 6.922e-05/0.1539, allocations: 106.7 kB / 0.6621 GB, free: 7.43 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.821e-06/0.1539, allocations: 4 kB / 0.6621 GB, free: 7.426 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.813e-05/0.154, allocations: 48.75 kB / 0.6622 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.154, allocations: 0 / 0.6622 GB, free: 7.367 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.046e-06/0.154, allocations: 3.938 kB / 0.6622 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.154, allocations: 0 / 0.6622 GB, free: 7.363 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001033/0.1541, allocations: 149.7 kB / 0.6623 GB, free: 7.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.1541, allocations: 3.938 kB / 0.6623 GB, free: 7.164 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.29e-05/0.1542, allocations: 4 kB / 0.6623 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1542, allocations: 0 / 0.6623 GB, free: 7.16 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.908e-06/0.1542, allocations: 7.922 kB / 0.6623 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.1542, allocations: 0 / 0.6623 GB, free: 7.152 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.394e-06/0.1542, allocations: 3.984 kB / 0.6623 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.026e-05/0.1543, allocations: 65.16 kB / 0.6624 GB, free: 7.066 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/0.1543, allocations: 77.11 kB / 0.6625 GB, free: 6.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.038e-05/0.1543, allocations: 3.938 kB / 0.6625 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.712e-06/0.1543, allocations: 0 / 0.6625 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.586e-06/0.1544, allocations: 0 / 0.6625 GB, free: 6.969 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1544, allocations: 7.984 kB / 0.6625 GB, free: 6.961 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.121e-05/0.1544, allocations: 75.28 kB / 0.6626 GB, free: 6.887 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1544, allocations: 4.031 kB / 0.6626 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001929/0.1546, allocations: 11.94 kB / 0.6626 GB, free: 6.871 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.0004419/0.155, allocations: 0.6163 MB / 0.6632 GB, free: 6.223 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 6.031e-05/0.1551, allocations: 8 kB / 0.6632 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.1551, allocations: 0 / 0.6632 GB, free: 6.215 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 7.865e-06/0.1551, allocations: 7.938 kB / 0.6632 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00012/0.1553, allocations: 1.562 kB / 0.6632 GB, free: 6.207 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002605/0.1555, allocations: 110.5 kB / 0.6633 GB, free: 6.059 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1558, allocations: 0.6729 MB / 0.6639 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.736e-06/0.1558, allocations: 4.125 kB / 0.664 GB, free: 5.355 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.353e-05/0.1559, allocations: 7.438 kB / 0.664 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of SimCode: time 2.41e-07/0.1559, allocations: 0 / 0.664 GB, free: 5.348 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2037/0.3596, allocations: 1.13 MB / 0.6651 GB, free: 4.305 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.472/8.832, allocations: 6.656 kB / 0.6651 GB, free: 4.301 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_BesselJ1.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)