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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001106/0.001106, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7318/0.7318, allocations: 133.4 MB / 146.7 MB, free: 10.79 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.429/1.429, allocations: 221.3 MB / 400.4 MB, free: 5.77 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008315/0.0008315, allocations: 104.8 kB / 483.3 MB, free: 5.801 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 6.655e-05/6.669e-05, allocations: 5.219 kB / 0.5601 GB, free: 87.87 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2005/0.2006, allocations: 82.31 MB / 0.6405 GB, free: 7.688 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8047/1.005, allocations: 110.7 MB / 0.7486 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/1.006, allocations: 73.92 kB / 0.7487 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.004756/1.01, allocations: 1.282 MB / 0.75 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.934e-06/1.011, allocations: 0 / 0.75 GB, free: 27.63 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 7.233e-06/1.011, allocations: 0 / 0.75 GB, free: 27.63 MB / 0.5105 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.000302/1.011, allocations: 329 kB / 0.7503 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.523e-05/1.011, allocations: 7.688 kB / 0.7503 GB, free: 27.28 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.153e-05/1.011, allocations: 37.31 kB / 0.7503 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/1.011, allocations: 0 / 0.7503 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000113/1.011, allocations: 163 kB / 0.7505 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/1.011, allocations: 3.844 kB / 0.7505 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.186e-05/1.011, allocations: 0 / 0.7505 GB, free: 27.04 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001033/1.011, allocations: 29.64 kB / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/1.011, allocations: 0 / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.215e-06/1.011, allocations: 4 kB / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/1.011, allocations: 3.844 kB / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.392e-05/1.011, allocations: 2.062 kB / 0.7505 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/1.012, allocations: 152 kB / 0.7506 GB, free: 26.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.86e-05/1.012, allocations: 18.33 kB / 0.7507 GB, free: 26.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.871e-05/1.012, allocations: 8.797 kB / 0.7507 GB, free: 26.77 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007273/1.012, allocations: 450.7 kB / 0.7511 GB, free: 26.3 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.632e-05/1.012, allocations: 37.81 kB / 0.7511 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.262e-06/1.012, allocations: 3.938 kB / 0.7511 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001346/1.013, allocations: 33.8 kB / 0.7512 GB, free: 26.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.543e-05/1.013, allocations: 51.41 kB / 0.7512 GB, free: 26.16 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.183e-05/1.013, allocations: 85.03 kB / 0.7513 GB, free: 26.07 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.219e-05/1.013, allocations: 29.7 kB / 0.7513 GB, free: 26.04 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 2.798e-05/1.013, allocations: 80.14 kB / 0.7514 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 2.927e-05/1.013, allocations: 3.906 kB / 0.7514 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/1.013, allocations: 0 / 0.7514 GB, free: 25.95 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001163/1.013, allocations: 314.6 kB / 0.7517 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.023e-05/1.013, allocations: 0 / 0.7517 GB, free: 25.64 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.494e-06/1.013, allocations: 3.938 kB / 0.7517 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.095e-05/1.013, allocations: 6.672 kB / 0.7517 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/1.013, allocations: 4.062 kB / 0.7517 GB, free: 25.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.853e-05/1.013, allocations: 36.72 kB / 0.7518 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.952e-05/1.013, allocations: 4.594 kB / 0.7518 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.013, allocations: 0 / 0.7518 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.444e-05/1.013, allocations: 3.906 kB / 0.7518 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.591e-05/1.013, allocations: 2.906 kB / 0.7518 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/1.013, allocations: 0 / 0.7518 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.348e-05/1.013, allocations: 0 / 0.7518 GB, free: 25.59 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/1.013, allocations: 0 / 0.7518 GB, free: 25.59 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.234e-05/1.013, allocations: 108.8 kB / 0.7519 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.014e-05/1.013, allocations: 3.953 kB / 0.7519 GB, free: 25.48 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.469e-05/1.013, allocations: 40.06 kB / 0.7519 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/1.013, allocations: 0 / 0.7519 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/1.013, allocations: 3.984 kB / 0.7519 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/1.013, allocations: 0 / 0.7519 GB, free: 25.44 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.779e-05/1.014, allocations: 150.5 kB / 0.7521 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/1.014, allocations: 0 / 0.7521 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.468e-05/1.014, allocations: 3.562 kB / 0.7521 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/1.014, allocations: 3.984 kB / 0.7521 GB, free: 25.25 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.26e-06/1.014, allocations: 4 kB / 0.7521 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/1.014, allocations: 3.875 kB / 0.7521 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.176e-06/1.014, allocations: 0 / 0.7521 GB, free: 25.24 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.684e-05/1.014, allocations: 60.48 kB / 0.7521 GB, free: 25.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.768e-05/1.014, allocations: 80.39 kB / 0.7522 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/1.014, allocations: 3.953 kB / 0.7522 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.388e-06/1.014, allocations: 3.844 kB / 0.7522 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.617e-05/1.014, allocations: 4.031 kB / 0.7522 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.056e-06/1.014, allocations: 0 / 0.7522 GB, free: 25.07 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 4.111e-05/1.014, allocations: 75.28 kB / 0.7523 GB, free: 25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.9e-07/1.014, allocations: 0 / 0.7523 GB, free: 25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002996/1.014, allocations: 27.22 kB / 0.7523 GB, free: 24.98 MB / 0.5105 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005713/1.015, allocations: 0.6224 MB / 0.7529 GB, free: 24.39 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 7.76e-05/1.015, allocations: 11.23 kB / 0.7529 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.015, allocations: 0 / 0.7529 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 8.476e-06/1.015, allocations: 3.844 kB / 0.7529 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/1.015, allocations: 8.078 kB / 0.753 GB, free: 24.38 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/1.015, allocations: 94.03 kB / 0.753 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/1.016, allocations: 0.673 MB / 0.7537 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 1.397e-05/1.016, allocations: 0 / 0.7537 GB, free: 23.57 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.446e-05/1.016, allocations: 7.438 kB / 0.7537 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of SimCode: time 4.71e-07/1.016, allocations: 0 / 0.7537 GB, free: 23.56 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01392/1.03, allocations: 0.9283 MB / 0.7546 GB, free: 23.41 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001717/1.03, allocations: 142.5 kB / 0.7548 GB, free: 23.18 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.456/2.486, allocations: 0 / 0.7548 GB, free: 23.18 MB / 0.5105 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/linux/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)