Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_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.768/2.768, allocations: 287.3 MB / 302.3 MB, free: 8.246 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.001547/0.001546, allocations: 190.2 kB / 370.8 MB, free: 10.87 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.125/2.125, 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.001135/0.001135, allocations: 90.92 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000508/0.0005083, allocations: 12.88 kB / 0.8657 GB, free: 140.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.239/0.2395, allocations: 115.3 MB / 0.9783 GB, free: 28.32 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9574/1.197, allocations: 137.3 MB / 1.112 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002869/1.197, allocations: 72.95 kB / 1.112 GB, free: 15.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005769/1.203, allocations: 1.274 MB / 1.114 GB, free: 31.44 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.717e-06/1.203, allocations: 1.266 kB / 1.114 GB, free: 31.44 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.132e-05/1.203, allocations: 0 / 1.114 GB, free: 31.44 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003262/1.204, allocations: 333.8 kB / 1.114 GB, free: 31.07 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 8.332e-05/1.204, allocations: 15.58 kB / 1.114 GB, free: 31.07 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.764e-05/1.204, allocations: 31.88 kB / 1.114 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.254e-05/1.204, allocations: 0 / 1.114 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.344e-05/1.204, allocations: 168.4 kB / 1.114 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.005e-05/1.204, allocations: 0 / 1.114 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.14e-05/1.204, allocations: 0 / 1.114 GB, free: 30.83 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001013/1.204, allocations: 36.05 kB / 1.114 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.466e-06/1.204, allocations: 0 / 1.114 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.325e-06/1.204, allocations: 1.359 kB / 1.114 GB, free: 30.8 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.95e-06/1.204, allocations: 4 kB / 1.114 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.284e-05/1.204, allocations: 0 / 1.114 GB, free: 30.79 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001391/1.204, allocations: 151.1 kB / 1.114 GB, free: 30.6 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.024e-05/1.204, allocations: 18.52 kB / 1.114 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008904/1.205, allocations: 453 kB / 1.115 GB, free: 30.1 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.664e-05/1.205, allocations: 35.89 kB / 1.115 GB, free: 30.06 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.955e-06/1.205, allocations: 0 / 1.115 GB, free: 30.06 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001516/1.205, allocations: 38.81 kB / 1.115 GB, free: 30.02 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.447e-05/1.205, allocations: 51.41 kB / 1.115 GB, free: 29.96 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.832e-05/1.205, allocations: 88.94 kB / 1.115 GB, free: 29.87 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/1.206, allocations: 25.7 kB / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.636e-05/1.206, allocations: 84.27 kB / 1.115 GB, free: 29.75 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/1.206, allocations: 4.719 kB / 1.115 GB, free: 29.75 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.885e-06/1.206, allocations: 0 / 1.115 GB, free: 29.75 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000123/1.206, allocations: 318.9 kB / 1.115 GB, free: 29.43 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.123e-05/1.206, allocations: 0 / 1.115 GB, free: 29.43 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.844e-06/1.206, allocations: 0 / 1.115 GB, free: 29.43 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.093e-05/1.206, allocations: 3.875 kB / 1.115 GB, free: 29.43 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/1.206, allocations: 0 / 1.115 GB, free: 29.43 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.622e-05/1.206, allocations: 38.84 kB / 1.116 GB, free: 29.4 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.961e-05/1.206, allocations: 9.344 kB / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.332e-06/1.206, allocations: 0 / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.361e-05/1.206, allocations: 0 / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.834e-05/1.206, allocations: 3.844 kB / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/1.206, allocations: 0 / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.524e-05/1.206, allocations: 3.906 kB / 1.116 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/1.206, allocations: 1.688 kB / 1.116 GB, free: 29.39 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 (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 0.0001007/1.206, allocations: 109.7 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.027e-06/1.206, allocations: 7.891 kB / 1.116 GB, free: 29.27 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001049/1.206, allocations: 43.56 kB / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.856e-06/1.206, allocations: 0 / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/1.206, allocations: 0 / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.456e-06/1.206, allocations: 0 / 1.116 GB, free: 29.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001081/1.206, allocations: 147 kB / 1.116 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.206, allocations: 0 / 1.116 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.915e-05/1.207, allocations: 5.719 kB / 1.116 GB, free: 29.05 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.708e-06/1.207, allocations: 3.953 kB / 1.116 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.334e-06/1.207, allocations: 0 / 1.116 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/1.207, allocations: 0 / 1.116 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.645e-06/1.207, allocations: 7.844 kB / 1.116 GB, free: 29.04 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.376e-05/1.207, allocations: 58.48 kB / 1.116 GB, free: 28.97 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.009e-05/1.207, allocations: 78.42 kB / 1.116 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.605e-05/1.207, allocations: 3.953 kB / 1.116 GB, free: 28.88 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.337e-06/1.207, allocations: 3.938 kB / 1.116 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.804e-05/1.207, allocations: 5.234 kB / 1.116 GB, free: 28.87 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.585e-06/1.207, allocations: 0 / 1.116 GB, free: 28.87 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.615e-05/1.207, allocations: 79.31 kB / 1.116 GB, free: 28.79 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/1.207, allocations: 0 / 1.116 GB, free: 28.79 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002957/1.207, allocations: 25.27 kB / 1.116 GB, free: 28.78 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 (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.0006166/1.208, allocations: 0.6311 MB / 1.117 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 7.579e-05/1.208, allocations: 8.938 kB / 1.117 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/1.208, allocations: 0 / 1.117 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.917e-06/1.208, allocations: 0 / 1.117 GB, free: 28.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001092/1.208, allocations: 6.141 kB / 1.117 GB, free: 28.17 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003424/1.208, allocations: 119.6 kB / 1.117 GB, free: 28.03 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000265/1.209, allocations: 0.6748 MB / 1.117 GB, free: 27.33 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.117e-05/1.209, allocations: 5.109 kB / 1.117 GB, free: 27.33 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.722e-05/1.209, allocations: 7.438 kB / 1.117 GB, free: 27.32 MB / 0.698 GB Notification: Performance of SimCode: time 9.81e-07/1.209, allocations: 0 / 1.117 GB, free: 27.32 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01911/1.228, allocations: 0.929 MB / 1.118 GB, free: 27.18 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003024/1.228, allocations: 181.6 kB / 1.119 GB, free: 26.94 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.324/3.553, allocations: 0 / 1.119 GB, free: 26.94 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)