Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.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.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Examples.BesselJ0,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0",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.001069/0.001069, allocations: 173.9 kB / 7.648 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.106/1.106, allocations: 133.6 MB / 141.6 MB, free: 2.902 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.637/1.637, allocations: 221.5 MB / 395.4 MB, free: 10.78 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000902/0.0009019, allocations: 102.5 kB / 478.2 MB, free: 1.32 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.311e-05/3.334e-05, allocations: 4 kB / 0.5535 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4212/0.4212, allocations: 82.31 MB / 0.6339 GB, free: 40.75 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1449/0.5662, allocations: 110.7 MB / 0.7421 GB, free: 11.93 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001898/0.5664, allocations: 71.95 kB / 0.7421 GB, free: 11.86 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.004293/0.5707, allocations: 1.528 MB / 0.7436 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.432e-06/0.5707, allocations: 0 / 0.7436 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 6.742e-06/0.5708, allocations: 0 / 0.7436 GB, free: 10.33 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003906/0.5712, allocations: 358.5 kB / 0.744 GB, free: 9.934 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.5712, allocations: 12.03 kB / 0.744 GB, free: 9.922 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.399e-05/0.5713, allocations: 3.906 kB / 0.744 GB, free: 9.918 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000155/0.5714, allocations: 171 kB / 0.7441 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.5714, allocations: 0 / 0.7441 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.02e-05/0.5714, allocations: 0 / 0.7441 GB, free: 9.711 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.609e-05/0.5715, allocations: 8 kB / 0.7442 GB, free: 9.703 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.645e-05/0.5716, allocations: 37.69 kB / 0.7442 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.586e-06/0.5716, allocations: 0 / 0.7442 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.305e-05/0.5717, allocations: 0 / 0.7442 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.05e-06/0.5717, allocations: 3.938 kB / 0.7442 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004614/0.5721, allocations: 249.4 kB / 0.7444 GB, free: 9.375 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.565e-05/0.5722, allocations: 26.52 kB / 0.7445 GB, free: 9.34 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.274e-05/0.5723, allocations: 8.922 kB / 0.7445 GB, free: 9.328 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006804/0.573, allocations: 445.5 kB / 0.7449 GB, free: 8.801 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.694e-05/0.573, allocations: 38.55 kB / 0.7449 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.303e-06/0.573, allocations: 0 / 0.7449 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0002332/0.5732, allocations: 37.7 kB / 0.745 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.5733, allocations: 51.41 kB / 0.745 GB, free: 8.648 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.925e-05/0.5734, allocations: 97.03 kB / 0.7451 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.751e-05/0.5734, allocations: 29.64 kB / 0.7451 GB, free: 8.512 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 7.668e-05/0.5735, allocations: 88.06 kB / 0.7452 GB, free: 8.422 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.726e-05/0.5735, allocations: 3.906 kB / 0.7452 GB, free: 8.418 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.647e-06/0.5735, allocations: 4 kB / 0.7452 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.5737, allocations: 318.8 kB / 0.7455 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.5737, allocations: 0 / 0.7455 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.208e-05/0.5738, allocations: 7.938 kB / 0.7455 GB, free: 8.086 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.912e-05/0.5738, allocations: 12.06 kB / 0.7455 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.5738, allocations: 0 / 0.7455 GB, free: 8.074 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.05e-05/0.5739, allocations: 45.59 kB / 0.7456 GB, free: 8.023 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.5739, allocations: 8 kB / 0.7456 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/0.5739, allocations: 0 / 0.7456 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.925e-05/0.574, allocations: 0 / 0.7456 GB, free: 8.016 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001047/0.5741, allocations: 8 kB / 0.7456 GB, free: 8.008 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.745e-05/0.5741, allocations: 7.984 kB / 0.7456 GB, free: 8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.5742, allocations: 12.03 kB / 0.7456 GB, free: 7.988 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.274e-06/0.5742, allocations: 0 / 0.7456 GB, free: 7.988 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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 0.0001095/0.5744, allocations: 106.8 kB / 0.7457 GB, free: 7.879 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001081/0.5745, allocations: 49.62 kB / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.931e-05/0.5745, allocations: 0 / 0.7458 GB, free: 7.824 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001335/0.5746, allocations: 45.44 kB / 0.7458 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.525e-06/0.5746, allocations: 0 / 0.7458 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.522e-06/0.5747, allocations: 0 / 0.7458 GB, free: 7.777 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.5747, allocations: 4.062 kB / 0.7458 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001875/0.5749, allocations: 138.2 kB / 0.746 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.462e-06/0.5749, allocations: 0 / 0.746 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.904e-05/0.5749, allocations: 15.98 kB / 0.746 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.113e-06/0.575, allocations: 0 / 0.746 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.575, allocations: 192 / 0.746 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.654e-06/0.575, allocations: 0 / 0.746 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.566e-06/0.575, allocations: 0 / 0.746 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001816/0.5752, allocations: 155.3 kB / 0.7461 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.5752, allocations: 81.05 kB / 0.7462 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.582e-05/0.5753, allocations: 0 / 0.7462 GB, free: 7.32 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.553e-05/0.5753, allocations: 11.98 kB / 0.7462 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.359e-05/0.5754, allocations: 0 / 0.7462 GB, free: 7.309 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.785e-06/0.5754, allocations: 3.938 kB / 0.7462 GB, free: 7.305 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.81e-05/0.5755, allocations: 83.28 kB / 0.7463 GB, free: 7.223 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5755, allocations: 4.031 kB / 0.7463 GB, free: 7.219 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002573/0.5758, allocations: 27.92 kB / 0.7463 GB, free: 7.191 MB / 0.5261 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 (2): * Single equations (assignments): 2 * 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.0008904/0.5767, allocations: 0.6912 MB / 0.747 GB, free: 6.473 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.5768, allocations: 12 kB / 0.747 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.866e-06/0.5768, allocations: 0 / 0.747 GB, free: 6.461 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.5768, allocations: 12 kB / 0.747 GB, free: 6.449 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002436/0.5771, allocations: 3.984 kB / 0.747 GB, free: 6.445 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004868/0.5776, allocations: 101.6 kB / 0.7471 GB, free: 6.309 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004801/0.5781, allocations: 0.6847 MB / 0.7478 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.437e-05/0.5781, allocations: 0 / 0.7478 GB, free: 5.598 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.024e-05/0.5782, allocations: 7.438 kB / 0.7478 GB, free: 5.59 MB / 0.5261 GB Notification: Performance of SimCode: time 2.7e-07/0.5782, allocations: 3.938 kB / 0.7478 GB, free: 5.586 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01972/0.5979, allocations: 0.9151 MB / 0.7487 GB, free: 4.68 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000265/0.5982, allocations: 115.6 kB / 0.7488 GB, free: 4.488 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.599/2.197, allocations: 0 / 0.7488 GB, free: 4.488 MB / 0.5261 GB (rm -f IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Examples_BesselJ0.fmu > IDEAS_IDEAS.Utilities.Math.Examples.BesselJ0.pipe 2>&1)