Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.948/2.948, allocations: 284.9 MB / 292.4 MB, free: 10.61 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.00148/0.00148, allocations: 188.8 kB / 360.6 MB, free: 7.266 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.16/2.16, allocations: 205.3 MB / 0.6191 GB, free: 12.18 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.001024/0.001024, allocations: 92.19 kB / 0.7321 GB, free: 44.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.295e-05, allocations: 8 kB / 0.8509 GB, free: 3.316 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8375/0.8375, allocations: 115.3 MB / 0.9634 GB, free: 78.38 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2398/1.077, allocations: 136.5 MB / 1.097 GB, free: 3.902 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003001/1.078, allocations: 75.95 kB / 1.097 GB, free: 3.828 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.005205/1.083, allocations: 1.237 MB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/1.083, allocations: 1.406 kB / 1.098 GB, free: 2.625 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.35e-06/1.083, allocations: 0 / 1.098 GB, free: 2.625 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.0003217/1.083, allocations: 327.3 kB / 1.098 GB, free: 2.262 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.95e-05/1.083, allocations: 8.031 kB / 1.098 GB, free: 2.254 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.868e-05/1.084, allocations: 5.797 kB / 1.098 GB, free: 2.25 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/1.084, allocations: 167 kB / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.31e-05/1.084, allocations: 0.6875 kB / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.624e-06/1.084, allocations: 0 / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.321e-05/1.084, allocations: 0.5312 kB / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.47e-05/1.084, allocations: 34.2 kB / 1.099 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/1.084, allocations: 0.7188 kB / 1.099 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.157e-06/1.084, allocations: 0 / 1.099 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/1.084, allocations: 0.5312 kB / 1.099 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001523/1.084, allocations: 126.9 kB / 1.099 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.01e-05/1.084, allocations: 24.03 kB / 1.099 GB, free: 1.816 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.058e-05/1.084, allocations: 9.672 kB / 1.099 GB, free: 1.805 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008424/1.085, allocations: 439.5 kB / 1.099 GB, free: 1.285 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.606e-05/1.085, allocations: 35.25 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/1.085, allocations: 0.7188 kB / 1.099 GB, free: 1.242 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001628/1.085, allocations: 34.64 kB / 1.099 GB, free: 1.203 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.781e-05/1.085, allocations: 51.41 kB / 1.099 GB, free: 1.141 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.22e-05/1.085, allocations: 85.72 kB / 1.099 GB, free: 1.051 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.648e-05/1.085, allocations: 25.7 kB / 1.099 GB, free: 1.02 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.395e-05/1.085, allocations: 84.02 kB / 1.099 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.761e-05/1.085, allocations: 4.406 kB / 1.099 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/1.085, allocations: 4.625 kB / 1.099 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001535/1.086, allocations: 314.9 kB / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/1.086, allocations: 0 / 1.1 GB, free: 0.6172 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.724e-06/1.086, allocations: 3.938 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.46e-05/1.086, allocations: 4.484 kB / 1.1 GB, free: 0.6094 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.086, allocations: 6.5 kB / 1.1 GB, free: 0.6055 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.991e-05/1.086, allocations: 37.66 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/1.086, allocations: 4 kB / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.183e-06/1.086, allocations: 0 / 1.1 GB, free: 0.5586 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.376e-05/1.086, allocations: 3.938 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.049e-05/1.086, allocations: 4 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/1.086, allocations: 0.875 kB / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.314e-05/1.086, allocations: 0 / 1.1 GB, free: 0.5508 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.045e-06/1.086, allocations: 4.484 kB / 1.1 GB, free: 0.5508 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 () * 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.133e-05/1.086, allocations: 104.8 kB / 1.1 GB, free: 452 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.141e-05/1.086, allocations: 43.14 kB / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.662e-06/1.086, allocations: 0 / 1.1 GB, free: 404 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001106/1.086, allocations: 40.02 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.217e-06/1.086, allocations: 0 / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.294e-06/1.086, allocations: 3.984 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/1.086, allocations: 0 / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001007/1.087, allocations: 126.4 kB / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.087, allocations: 0 / 1.1 GB, free: 192 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.134e-05/1.087, allocations: 6.688 kB / 1.1 GB, free: 188 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/1.087, allocations: 3.953 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/1.087, allocations: 0 / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/1.087, allocations: 0 / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/1.087, allocations: 0 / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/1.087, allocations: 61.12 kB / 1.1 GB, free: 104 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.057e-05/1.087, allocations: 81.14 kB / 1.1 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.866e-05/1.087, allocations: 3.953 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.013e-05/1.087, allocations: 0 / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.69e-05/1.087, allocations: 1.312 kB / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.006e-06/1.087, allocations: 0 / 1.1 GB, free: 0 / 0.698 GB Notification: Performance of sorting global known variables: time 5.598e-05/1.087, allocations: 75.28 kB / 1.1 GB, free: 15.93 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.81e-07/1.087, allocations: 4 kB / 1.1 GB, free: 15.92 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003189/1.087, allocations: 23.92 kB / 1.1 GB, free: 15.9 MB / 0.7136 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.0006218/1.088, allocations: 0.6196 MB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.613e-05/1.088, allocations: 4 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.055e-06/1.088, allocations: 8.031 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.034e-05/1.088, allocations: 4 kB / 1.101 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000121/1.088, allocations: 4.734 kB / 1.101 GB, free: 15.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003337/1.088, allocations: 97.53 kB / 1.101 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003057/1.089, allocations: 0.6768 MB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.435e-05/1.089, allocations: 1.594 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.863e-05/1.089, allocations: 7.438 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of SimCode: time 6.61e-07/1.089, allocations: 0 / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03675/1.126, allocations: 0.6387 MB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000343/1.126, allocations: 146.9 kB / 1.102 GB, free: 13.59 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.338/3.464, allocations: 0 / 1.102 GB, free: 13.59 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)