Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.738/1.738, allocations: 292.6 MB / 307.5 MB, free: 5.234 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001135/0.001135, allocations: 193 kB / 377.1 MB, free: 1.527 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.675/1.675, allocations: 205.4 MB / 0.6366 GB, free: 8.621 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001044/0.001044, allocations: 97.05 kB / 0.7509 GB, free: 62.92 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.0003771, allocations: 16 kB / 0.8749 GB, free: 11.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3283/0.3287, allocations: 116.3 MB / 0.9884 GB, free: 6.648 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.818/1.147, allocations: 138.4 MB / 1.124 GB, free: 36.12 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/1.147, allocations: 70.17 kB / 1.124 GB, free: 36.06 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003045/1.15, allocations: 1.249 MB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.224e-06/1.15, allocations: 0.6562 kB / 1.125 GB, free: 35.09 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.829e-06/1.15, allocations: 0 / 1.125 GB, free: 35.09 MB / 0.7292 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.0002127/1.15, allocations: 326.2 kB / 1.125 GB, free: 34.73 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.594e-05/1.15, allocations: 19.67 kB / 1.125 GB, free: 34.72 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.164e-05/1.15, allocations: 34.56 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.274e-05/1.151, allocations: 6.25 kB / 1.125 GB, free: 34.68 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.077e-05/1.151, allocations: 159.1 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.246e-05/1.151, allocations: 1.359 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.087e-06/1.151, allocations: 3.438 kB / 1.125 GB, free: 34.48 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.319e-05/1.151, allocations: 29.7 kB / 1.125 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.924e-06/1.151, allocations: 0 / 1.125 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.096e-06/1.151, allocations: 0 / 1.125 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.041e-06/1.151, allocations: 0.75 kB / 1.125 GB, free: 34.45 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.973e-05/1.151, allocations: 3.938 kB / 1.125 GB, free: 34.44 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001139/1.151, allocations: 158.4 kB / 1.126 GB, free: 34.25 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.327e-05/1.151, allocations: 15.61 kB / 1.126 GB, free: 34.22 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005217/1.151, allocations: 436 kB / 1.126 GB, free: 33.72 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.626e-05/1.152, allocations: 42.12 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.122e-06/1.152, allocations: 4 kB / 1.126 GB, free: 33.67 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/1.152, allocations: 36.05 kB / 1.126 GB, free: 33.63 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/1.152, allocations: 51.41 kB / 1.126 GB, free: 33.57 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.023e-05/1.152, allocations: 85 kB / 1.126 GB, free: 33.48 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.067e-05/1.152, allocations: 25.7 kB / 1.126 GB, free: 33.45 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 1.818e-05/1.152, allocations: 80.14 kB / 1.126 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.659e-05/1.152, allocations: 9.625 kB / 1.126 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-06/1.152, allocations: 0.5625 kB / 1.126 GB, free: 33.36 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.435e-05/1.152, allocations: 313.5 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.187e-06/1.152, allocations: 8 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.502e-06/1.152, allocations: 3.609 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.867e-05/1.152, allocations: 0 / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/1.152, allocations: 0 / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.82e-05/1.152, allocations: 43.42 kB / 1.127 GB, free: 32.99 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.614e-05/1.152, allocations: 4.094 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.193e-06/1.152, allocations: 4.562 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.275e-05/1.152, allocations: 0 / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.46e-05/1.152, allocations: 4 kB / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/1.152, allocations: 0 / 1.127 GB, free: 32.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.145e-05/1.152, allocations: 4.469 kB / 1.127 GB, free: 32.97 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.348e-06/1.152, allocations: 4.344 kB / 1.127 GB, free: 32.97 MB / 0.7292 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.161e-05/1.152, allocations: 105.8 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.394e-06/1.152, allocations: 3.953 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.687e-05/1.152, allocations: 40.83 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/1.152, allocations: 4 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/1.152, allocations: 1.906 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.442e-06/1.152, allocations: 3.656 kB / 1.127 GB, free: 32.81 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.646e-05/1.152, allocations: 145.6 kB / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.11e-07/1.152, allocations: 0 / 1.127 GB, free: 32.62 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.11e-05/1.153, allocations: 4 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.262e-06/1.153, allocations: 0 / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.767e-06/1.153, allocations: 4.953 kB / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/1.153, allocations: 0 / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/1.153, allocations: 32 / 1.127 GB, free: 32.61 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.244e-05/1.153, allocations: 65.31 kB / 1.127 GB, free: 32.53 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.749e-05/1.153, allocations: 77.11 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.248e-05/1.153, allocations: 0.9375 kB / 1.127 GB, free: 32.44 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.857e-06/1.153, allocations: 3.953 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.322e-05/1.153, allocations: 3.516 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.915e-06/1.153, allocations: 0.5625 kB / 1.127 GB, free: 32.43 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.217e-05/1.153, allocations: 79.31 kB / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.813e-06/1.153, allocations: 0 / 1.127 GB, free: 32.36 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002204/1.153, allocations: 27.88 kB / 1.127 GB, free: 32.33 MB / 0.7292 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 (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.0004087/1.153, allocations: 0.6286 MB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 7.386e-05/1.153, allocations: 5.031 kB / 1.128 GB, free: 31.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/1.153, allocations: 4 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 5.831e-06/1.153, allocations: 0 / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001095/1.154, allocations: 3.953 kB / 1.128 GB, free: 31.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/1.154, allocations: 125 kB / 1.128 GB, free: 31.51 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001581/1.154, allocations: 0.6727 MB / 1.129 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.703e-05/1.154, allocations: 4.562 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/1.154, allocations: 7.438 kB / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of SimCode: time 2.3e-07/1.154, allocations: 0 / 1.129 GB, free: 30.81 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01151/1.166, allocations: 0.9316 MB / 1.13 GB, free: 30.32 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001461/1.166, allocations: 175.9 kB / 1.13 GB, free: 30.08 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.86, allocations: 0 / 1.13 GB, free: 30.08 MB / 0.7292 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)