Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_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 7.0.3-maint.7.0.x/package.mo): time 1.428/1.428, allocations: 249.5 MB / 257 MB, free: 6.984 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001285/0.001285, allocations: 173 kB / 316.3 MB, free: 3.309 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.653/1.653, allocations: 205.3 MB / 0.5671 GB, free: 15.91 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008666/0.0008666, allocations: 86.34 kB / 0.6714 GB, free: 5.039 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.474e-05/2.478e-05, allocations: 8 kB / 0.7815 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2449, allocations: 106.4 MB / 0.8853 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8134/1.058, allocations: 131.3 MB / 1.014 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000222/1.059, allocations: 78.69 kB / 1.014 GB, free: 6.07 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.00321/1.062, allocations: 1.234 MB / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.232e-06/1.062, allocations: 0 / 1.015 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.312e-06/1.062, allocations: 0 / 1.015 GB, free: 5.016 MB / 0.6355 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.0003251/1.062, allocations: 330.3 kB / 1.015 GB, free: 4.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/1.062, allocations: 11.97 kB / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.379e-05/1.062, allocations: 0 / 1.015 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001232/1.062, allocations: 163 kB / 1.015 GB, free: 4.441 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/1.062, allocations: 4 kB / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.627e-06/1.062, allocations: 0 / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 5.416e-05/1.063, allocations: 0 / 1.015 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.613e-05/1.063, allocations: 29.64 kB / 1.015 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/1.063, allocations: 4 kB / 1.015 GB, free: 4.398 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.039e-05/1.063, allocations: 4 kB / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/1.063, allocations: 0 / 1.015 GB, free: 4.395 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001482/1.063, allocations: 134.1 kB / 1.016 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 3.636e-05/1.063, allocations: 14.58 kB / 1.016 GB, free: 4.207 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.89e-05/1.063, allocations: 8.953 kB / 1.016 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006001/1.064, allocations: 445.2 kB / 1.016 GB, free: 3.672 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.854e-05/1.064, allocations: 30.56 kB / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=1): time 1.322e-06/1.064, allocations: 0 / 1.016 GB, free: 3.633 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1): time 0.0001742/1.064, allocations: 33.64 kB / 1.016 GB, free: 3.594 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.801e-05/1.064, allocations: 51.41 kB / 1.016 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.438e-05/1.064, allocations: 85 kB / 1.016 GB, free: 3.441 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.899e-05/1.064, allocations: 26.45 kB / 1.016 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 2.732e-05/1.064, allocations: 84.17 kB / 1.016 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.226e-05/1.064, allocations: 3.984 kB / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.865e-06/1.064, allocations: 0 / 1.016 GB, free: 3.32 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001195/1.064, allocations: 317.5 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.814e-06/1.064, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-06/1.064, allocations: 3.875 kB / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.95e-05/1.064, allocations: 0 / 1.017 GB, free: 3.004 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/1.064, allocations: 3.938 kB / 1.017 GB, free: 3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.644e-05/1.064, allocations: 41.72 kB / 1.017 GB, free: 2.953 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/1.064, allocations: 4 kB / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.439e-06/1.064, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.347e-05/1.064, allocations: 0 / 1.017 GB, free: 2.949 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.421e-05/1.064, allocations: 7.984 kB / 1.017 GB, free: 2.941 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.192e-06/1.064, allocations: 3.938 kB / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.927e-06/1.064, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.043e-06/1.064, allocations: 0 / 1.017 GB, free: 2.938 MB / 0.6355 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 6.256e-05/1.064, allocations: 104.9 kB / 1.017 GB, free: 2.828 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 4.699e-05/1.064, allocations: 37.69 kB / 1.017 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.33e-06/1.064, allocations: 4 kB / 1.017 GB, free: 2.781 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.338e-05/1.065, allocations: 41.39 kB / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/1.065, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.458e-06/1.065, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.2e-06/1.065, allocations: 0 / 1.017 GB, free: 2.73 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.708e-05/1.065, allocations: 134.8 kB / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/1.065, allocations: 0 / 1.017 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.188e-05/1.065, allocations: 4 kB / 1.017 GB, free: 2.562 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.855e-06/1.065, allocations: 3.953 kB / 1.017 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/1.065, allocations: 8.047 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/1.065, allocations: 3.188 kB / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/1.065, allocations: 0 / 1.017 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.002e-05/1.065, allocations: 49.14 kB / 1.017 GB, free: 2.484 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.094e-05/1.065, allocations: 81.11 kB / 1.017 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.151e-05/1.065, allocations: 3.953 kB / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.031e-06/1.065, allocations: 0 / 1.017 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.822e-05/1.065, allocations: 8.016 kB / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/1.065, allocations: 0 / 1.017 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 2.377e-05/1.065, allocations: 75.28 kB / 1.017 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.1e-07/1.065, allocations: 0 / 1.017 GB, free: 2.301 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002001/1.065, allocations: 31.88 kB / 1.017 GB, free: 2.273 MB / 0.6355 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.000463/1.066, allocations: 0.6241 MB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 5.984e-05/1.066, allocations: 3.938 kB / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.043e-06/1.066, allocations: 0 / 1.018 GB, free: 1.621 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-06/1.066, allocations: 4 kB / 1.018 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.699e-05/1.066, allocations: 4.078 kB / 1.018 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002695/1.066, allocations: 93.53 kB / 1.018 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/1.066, allocations: 0.6729 MB / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 1.136e-05/1.066, allocations: 0 / 1.019 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/1.066, allocations: 13.34 kB / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of SimCode: time 2.4e-07/1.066, allocations: 0 / 1.019 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01874/1.085, allocations: 0.6344 MB / 1.019 GB, free: 148 kB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002441/1.085, allocations: 163.6 kB / 1.019 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.374/2.459, allocations: 0 / 1.019 GB, free: 15.95 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)