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.779/1.779, allocations: 289.7 MB / 302.2 MB, free: 2.191 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.001078/0.001078, allocations: 180 kB / 371.6 MB, free: 3.422 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.782/1.782, allocations: 205.2 MB / 0.6309 GB, free: 11.8 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.001065/0.001065, allocations: 90.38 kB / 0.745 GB, free: 54.56 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 4.84e-05/4.843e-05, allocations: 7.984 kB / 0.8663 GB, free: 15 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3022/0.3022, allocations: 116.3 MB / 0.9799 GB, free: 10.54 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9261/1.228, allocations: 138.3 MB / 1.115 GB, free: 45.2 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002232/1.229, allocations: 75.16 kB / 1.115 GB, free: 45.16 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.002995/1.232, allocations: 1.227 MB / 1.116 GB, free: 44.37 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.452e-06/1.232, allocations: 0 / 1.116 GB, free: 44.37 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.371e-06/1.232, allocations: 0 / 1.116 GB, free: 44.37 MB / 0.7448 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.0002021/1.232, allocations: 323.8 kB / 1.117 GB, free: 44.01 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.757e-05/1.232, allocations: 12.84 kB / 1.117 GB, free: 44 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.407e-05/1.232, allocations: 33.81 kB / 1.117 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.167e-05/1.232, allocations: 2.406 kB / 1.117 GB, free: 43.96 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.017e-05/1.232, allocations: 167 kB / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.128e-05/1.232, allocations: 3.797 kB / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.216e-06/1.232, allocations: 4.5 kB / 1.117 GB, free: 43.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.724e-05/1.232, allocations: 27.17 kB / 1.117 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/1.232, allocations: 3.172 kB / 1.117 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.803e-06/1.232, allocations: 0 / 1.117 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.152e-06/1.232, allocations: 0.5156 kB / 1.117 GB, free: 43.73 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.923e-05/1.232, allocations: 5.344 kB / 1.117 GB, free: 43.72 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001069/1.232, allocations: 153.2 kB / 1.117 GB, free: 43.53 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.205e-05/1.232, allocations: 23.27 kB / 1.117 GB, free: 43.5 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.447e-05/1.233, allocations: 8.953 kB / 1.117 GB, free: 43.49 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005018/1.233, allocations: 442.8 kB / 1.117 GB, free: 42.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.233, allocations: 33.28 kB / 1.117 GB, free: 42.95 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/1.233, allocations: 4 kB / 1.117 GB, free: 42.94 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001125/1.233, allocations: 29.7 kB / 1.117 GB, free: 42.91 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.583e-05/1.233, allocations: 54.16 kB / 1.118 GB, free: 42.84 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.965e-05/1.233, allocations: 85 kB / 1.118 GB, free: 42.75 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 7.875e-06/1.233, allocations: 26.27 kB / 1.118 GB, free: 42.72 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 1.698e-05/1.233, allocations: 80.14 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.67e-05/1.233, allocations: 6.031 kB / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.567e-06/1.233, allocations: 0 / 1.118 GB, free: 42.64 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 6.108e-05/1.233, allocations: 322.2 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.795e-06/1.233, allocations: 0 / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.308e-06/1.233, allocations: 1.219 kB / 1.118 GB, free: 42.32 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.786e-05/1.233, allocations: 7.312 kB / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/1.233, allocations: 0 / 1.118 GB, free: 42.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.307e-05/1.233, allocations: 33.66 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/1.234, allocations: 4 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.591e-06/1.234, allocations: 0.8594 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.193e-05/1.234, allocations: 4.094 kB / 1.118 GB, free: 42.27 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.252e-05/1.234, allocations: 7.375 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.641e-06/1.234, allocations: 0 / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.114e-05/1.234, allocations: 0.5625 kB / 1.118 GB, free: 42.26 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.392e-06/1.234, allocations: 3.797 kB / 1.118 GB, free: 42.26 MB / 0.7448 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 4.653e-05/1.234, allocations: 105 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.011e-06/1.234, allocations: 3.953 kB / 1.118 GB, free: 42.15 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.346e-05/1.234, allocations: 44.77 kB / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/1.234, allocations: 0 / 1.118 GB, free: 42.11 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/1.234, allocations: 4.031 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.806e-06/1.234, allocations: 0.5156 kB / 1.118 GB, free: 42.1 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.199e-05/1.234, allocations: 145.7 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/1.234, allocations: 0.75 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.103e-05/1.234, allocations: 3.422 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/1.234, allocations: 4.609 kB / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.331e-06/1.234, allocations: 0 / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/1.234, allocations: 0 / 1.118 GB, free: 41.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.234, allocations: 5.25 kB / 1.118 GB, free: 41.9 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.25e-05/1.234, allocations: 63.41 kB / 1.118 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.309e-05/1.234, allocations: 80.62 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.054e-05/1.234, allocations: 3.953 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.013e-06/1.234, allocations: 0.6562 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.196e-05/1.234, allocations: 4 kB / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/1.234, allocations: 0 / 1.119 GB, free: 41.73 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.488e-05/1.234, allocations: 75.28 kB / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/1.234, allocations: 0 / 1.119 GB, free: 41.65 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002245/1.234, allocations: 27.97 kB / 1.119 GB, free: 41.62 MB / 0.7448 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.0003475/1.235, allocations: 0.6277 MB / 1.119 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.653e-05/1.235, allocations: 4.75 kB / 1.119 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/1.235, allocations: 0 / 1.119 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.15e-06/1.235, allocations: 4 kB / 1.119 GB, free: 40.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.479e-05/1.235, allocations: 3.953 kB / 1.119 GB, free: 40.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002342/1.235, allocations: 90.77 kB / 1.119 GB, free: 40.86 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001023/1.235, allocations: 0.6763 MB / 1.12 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 1.247e-05/1.235, allocations: 0.6875 kB / 1.12 GB, free: 40.16 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/1.235, allocations: 12 kB / 1.12 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of SimCode: time 2.31e-07/1.235, allocations: 0 / 1.12 GB, free: 40.15 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01113/1.246, allocations: 0.9368 MB / 1.121 GB, free: 39.66 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001349/1.247, allocations: 154 kB / 1.121 GB, free: 39.44 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.545/2.792, allocations: 4.812 kB / 1.121 GB, free: 39.44 MB / 0.7448 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)