Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.541/2.541, allocations: 287.3 MB / 302.3 MB, free: 8.336 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.001539/0.001539, allocations: 177 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.154/2.154, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001224/0.001224, allocations: 93.97 kB / 0.7428 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009606/0.0009606, allocations: 13.69 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2442/0.2453, allocations: 115.3 MB / 0.9783 GB, free: 28.33 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9557/1.201, allocations: 138 MB / 1.113 GB, free: 15.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002586/1.201, allocations: 78.77 kB / 1.113 GB, free: 15.85 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00744/1.209, allocations: 1.56 MB / 1.115 GB, free: 31.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.605e-06/1.209, allocations: 0 / 1.115 GB, free: 31.48 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.846e-06/1.209, allocations: 0 / 1.115 GB, free: 31.48 MB / 0.698 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.0005758/1.209, allocations: 360.9 kB / 1.115 GB, free: 31.12 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/1.21, allocations: 11.7 kB / 1.115 GB, free: 31.12 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.729e-05/1.21, allocations: 35.77 kB / 1.115 GB, free: 31.08 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.986e-05/1.21, allocations: 3.906 kB / 1.115 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001364/1.21, allocations: 168.2 kB / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/1.21, allocations: 0 / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.246e-05/1.21, allocations: 7.156 kB / 1.115 GB, free: 30.87 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002477/1.21, allocations: 56.75 kB / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.21, allocations: 0 / 1.115 GB, free: 30.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.153e-05/1.21, allocations: 3.984 kB / 1.115 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.799e-06/1.21, allocations: 0 / 1.115 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002784/1.21, allocations: 47.69 kB / 1.115 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000557/1.211, allocations: 269.5 kB / 1.116 GB, free: 30.56 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001905/1.211, allocations: 43.64 kB / 1.116 GB, free: 30.54 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009082/1.212, allocations: 456.9 kB / 1.116 GB, free: 30.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.441e-05/1.212, allocations: 30.56 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 3.497e-06/1.212, allocations: 3.938 kB / 1.116 GB, free: 30.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005683/1.213, allocations: 106.6 kB / 1.116 GB, free: 29.97 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.51e-05/1.213, allocations: 51.41 kB / 1.116 GB, free: 29.91 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.568e-05/1.213, allocations: 94.67 kB / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.698e-05/1.213, allocations: 29.83 kB / 1.116 GB, free: 29.79 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/1.213, allocations: 84.08 kB / 1.116 GB, free: 29.7 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.924e-05/1.213, allocations: 7.719 kB / 1.116 GB, free: 29.7 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.699e-06/1.213, allocations: 0 / 1.116 GB, free: 29.7 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001472/1.213, allocations: 317.9 kB / 1.117 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001409/1.213, allocations: 25.06 kB / 1.117 GB, free: 29.38 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001298/1.214, allocations: 18.94 kB / 1.117 GB, free: 29.38 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001405/1.214, allocations: 25.16 kB / 1.117 GB, free: 29.38 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/1.214, allocations: 3.938 kB / 1.117 GB, free: 29.38 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003485/1.214, allocations: 77.67 kB / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.964e-05/1.214, allocations: 7.75 kB / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.014e-06/1.214, allocations: 0 / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.71e-05/1.214, allocations: 0 / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001341/1.214, allocations: 10.83 kB / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.721e-06/1.214, allocations: 0 / 1.117 GB, free: 29.34 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.631e-05/1.214, allocations: 14.84 kB / 1.117 GB, free: 29.33 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.466e-06/1.214, allocations: 0 / 1.117 GB, free: 29.33 MB / 0.698 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 (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.000105/1.215, allocations: 117.7 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.984e-05/1.215, allocations: 0 / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004185/1.215, allocations: 90.05 kB / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.279e-06/1.215, allocations: 0 / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/1.215, allocations: 0 / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/1.215, allocations: 0 / 1.117 GB, free: 29.18 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001978/1.215, allocations: 159 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/1.215, allocations: 3.812 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/1.215, allocations: 9.984 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.781e-06/1.215, allocations: 0 / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.786e-06/1.215, allocations: 4.031 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/1.215, allocations: 0 / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/1.215, allocations: 3.438 kB / 1.117 GB, free: 28.98 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003796/1.216, allocations: 182.3 kB / 1.117 GB, free: 28.84 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.994e-05/1.216, allocations: 81.02 kB / 1.118 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/1.216, allocations: 0 / 1.118 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001181/1.216, allocations: 14.58 kB / 1.118 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.538e-05/1.216, allocations: 2.953 kB / 1.118 GB, free: 28.74 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.592e-06/1.216, allocations: 3.969 kB / 1.118 GB, free: 28.74 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.818e-05/1.216, allocations: 79.22 kB / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.51e-07/1.216, allocations: 0 / 1.118 GB, free: 28.66 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003529/1.217, allocations: 30.25 kB / 1.118 GB, free: 28.66 MB / 0.698 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 (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.0009477/1.218, allocations: 0.733 MB / 1.118 GB, free: 27.98 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003479/1.218, allocations: 53.45 kB / 1.118 GB, free: 27.97 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/1.218, allocations: 0 / 1.118 GB, free: 27.97 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001454/1.218, allocations: 25.17 kB / 1.118 GB, free: 27.97 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002333/1.218, allocations: 3.844 kB / 1.118 GB, free: 27.97 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005372/1.219, allocations: 151 kB / 1.119 GB, free: 27.81 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003024/1.219, allocations: 0.6793 MB / 1.119 GB, free: 27.12 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.933e-05/1.219, allocations: 8.047 kB / 1.119 GB, free: 27.11 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.983e-05/1.219, allocations: 11.06 kB / 1.119 GB, free: 27.11 MB / 0.698 GB Notification: Performance of SimCode: time 8.31e-07/1.219, allocations: 0 / 1.119 GB, free: 27.11 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01981/1.239, allocations: 1.219 MB / 1.12 GB, free: 26.94 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002233/1.239, allocations: 171.9 kB / 1.121 GB, free: 26.7 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/3.594, allocations: 0 / 1.121 GB, free: 26.7 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)