Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_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.588/2.588, 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.002083/0.002083, allocations: 188.8 kB / 360.6 MB, free: 7.328 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.106/2.106, allocations: 205.3 MB / 0.6191 GB, free: 12.22 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.001079/0.001079, allocations: 90.59 kB / 0.7321 GB, free: 44.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.038e-05, allocations: 11.98 kB / 0.8509 GB, free: 3.367 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8279/0.828, allocations: 115.3 MB / 0.9634 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/1.141, allocations: 137.2 MB / 1.097 GB, free: 3.273 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/1.141, allocations: 71.95 kB / 1.097 GB, free: 3.203 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007387/1.148, allocations: 1.519 MB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.305e-06/1.148, allocations: 0.5 kB / 1.099 GB, free: 1.727 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.146e-06/1.148, allocations: 2.031 kB / 1.099 GB, free: 1.727 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.0005711/1.149, allocations: 347.7 kB / 1.099 GB, free: 1.344 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 6.267e-05/1.149, allocations: 8.844 kB / 1.099 GB, free: 1.336 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.93e-05/1.149, allocations: 9.109 kB / 1.099 GB, free: 1.328 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/1.149, allocations: 175.8 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.627e-05/1.149, allocations: 0.5625 kB / 1.099 GB, free: 1.117 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.993e-05/1.149, allocations: 4.875 kB / 1.099 GB, free: 1.113 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001314/1.15, allocations: 4 kB / 1.099 GB, free: 1.109 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001025/1.15, allocations: 39.25 kB / 1.1 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.001e-05/1.15, allocations: 0.5625 kB / 1.1 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.18e-05/1.15, allocations: 0 / 1.1 GB, free: 1.066 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.053e-05/1.15, allocations: 4.875 kB / 1.1 GB, free: 1.062 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005621/1.15, allocations: 243.5 kB / 1.1 GB, free: 0.7891 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 9.008e-05/1.15, allocations: 27.17 kB / 1.1 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.727e-05/1.15, allocations: 9.641 kB / 1.1 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008999/1.151, allocations: 445.3 kB / 1.1 GB, free: 224 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.051e-05/1.151, allocations: 34.03 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 4.93e-06/1.151, allocations: 0.5156 kB / 1.1 GB, free: 184 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002802/1.152, allocations: 45.62 kB / 1.1 GB, free: 132 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.118e-05/1.152, allocations: 56.06 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/1.152, allocations: 95.2 kB / 1.1 GB, free: 15.97 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.583e-05/1.152, allocations: 25.7 kB / 1.1 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.249e-05/1.152, allocations: 88.08 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.281e-05/1.152, allocations: 4.531 kB / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/1.152, allocations: 0 / 1.101 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001997/1.152, allocations: 326.8 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.551e-05/1.152, allocations: 4 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.88e-05/1.152, allocations: 4 kB / 1.101 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.836e-05/1.153, allocations: 7.938 kB / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.153, allocations: 0 / 1.101 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002353/1.153, allocations: 41.7 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.059e-05/1.153, allocations: 6.188 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.023e-05/1.153, allocations: 0.5 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.148e-05/1.153, allocations: 4.094 kB / 1.101 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001856/1.153, allocations: 11.98 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.182e-05/1.153, allocations: 7.938 kB / 1.101 GB, free: 15.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.342e-05/1.153, allocations: 9.047 kB / 1.101 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/1.153, allocations: 0 / 1.101 GB, free: 15.42 MB / 0.7136 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 (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.0001049/1.153, allocations: 112.7 kB / 1.101 GB, free: 15.3 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001554/1.154, allocations: 45.61 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.937e-05/1.154, allocations: 3.984 kB / 1.101 GB, free: 15.25 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001628/1.154, allocations: 41.45 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/1.154, allocations: 7.984 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.154, allocations: 2.312 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/1.154, allocations: 3.938 kB / 1.101 GB, free: 15.19 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000211/1.154, allocations: 138.2 kB / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/1.154, allocations: 0 / 1.101 GB, free: 15.02 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001278/1.154, allocations: 11.98 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/1.154, allocations: 4.062 kB / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.668e-06/1.154, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.926e-06/1.154, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.286e-06/1.154, allocations: 0 / 1.101 GB, free: 15 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001943/1.155, allocations: 139.5 kB / 1.101 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.731e-05/1.155, allocations: 82.42 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.738e-05/1.155, allocations: 0 / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001389/1.155, allocations: 12.03 kB / 1.102 GB, free: 14.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.124e-05/1.155, allocations: 3.984 kB / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.563e-06/1.155, allocations: 0 / 1.102 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.477e-05/1.155, allocations: 86.28 kB / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.11e-07/1.155, allocations: 0 / 1.102 GB, free: 14.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003774/1.155, allocations: 23.94 kB / 1.102 GB, free: 14.63 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 (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.0007901/1.156, allocations: 0.7007 MB / 1.102 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001157/1.156, allocations: 12 kB / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.731e-06/1.156, allocations: 0 / 1.102 GB, free: 13.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.743e-05/1.156, allocations: 16.03 kB / 1.102 GB, free: 13.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002488/1.157, allocations: 5.625 kB / 1.102 GB, free: 13.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000473/1.157, allocations: 105.5 kB / 1.102 GB, free: 13.73 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/1.157, allocations: 0.6768 MB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.164e-05/1.158, allocations: 2.938 kB / 1.103 GB, free: 13.03 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.035e-05/1.158, allocations: 11.44 kB / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of SimCode: time 1.262e-06/1.158, allocations: 0 / 1.103 GB, free: 13.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/1.194, allocations: 0.9121 MB / 1.104 GB, free: 12.14 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003061/1.195, allocations: 131 kB / 1.104 GB, free: 11.95 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.39/3.585, allocations: 0 / 1.104 GB, free: 11.95 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)