Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_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.1.4-maint.8.1.x/package.mo): time 1.68/1.68, allocations: 289.7 MB / 302.2 MB, free: 2.16 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.001361/0.001361, allocations: 183.7 kB / 371.6 MB, free: 3.398 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.703/1.703, allocations: 205.2 MB / 0.6309 GB, free: 11.77 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.0008731/0.0008735, allocations: 90.3 kB / 0.745 GB, free: 54.64 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 3.448e-05/3.451e-05, allocations: 8 kB / 0.8663 GB, free: 14.95 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.257, allocations: 116.3 MB / 0.9799 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7338/0.9909, allocations: 139 MB / 1.116 GB, free: 44.7 MB / 0.7448 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001905/0.9911, allocations: 70.72 kB / 1.116 GB, free: 44.68 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 0.003685/0.9948, allocations: 1.515 MB / 1.117 GB, free: 43.72 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.523e-06/0.9948, allocations: 0 / 1.117 GB, free: 43.72 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 5.651e-06/0.9948, allocations: 0.5625 kB / 1.117 GB, free: 43.72 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0002839/0.9951, allocations: 357.4 kB / 1.118 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.609e-05/0.9952, allocations: 9.781 kB / 1.118 GB, free: 43.34 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.871e-05/0.9952, allocations: 31.38 kB / 1.118 GB, free: 43.3 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.07e-05/0.9952, allocations: 7.75 kB / 1.118 GB, free: 43.29 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.26e-05/0.9953, allocations: 163 kB / 1.118 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.377e-06/0.9953, allocations: 4.016 kB / 1.118 GB, free: 43.1 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.778e-06/0.9953, allocations: 5.641 kB / 1.118 GB, free: 43.09 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.568e-05/0.9954, allocations: 37.09 kB / 1.118 GB, free: 43.06 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.925e-06/0.9954, allocations: 4.656 kB / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.9955, allocations: 2.953 kB / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.649e-06/0.9955, allocations: 0 / 1.118 GB, free: 43.05 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.892e-05/0.9955, allocations: 16.06 kB / 1.118 GB, free: 43.04 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002909/0.9958, allocations: 264.8 kB / 1.118 GB, free: 42.76 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 3.756e-05/0.9959, allocations: 33.55 kB / 1.118 GB, free: 42.73 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.9959, allocations: 12.8 kB / 1.118 GB, free: 42.71 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000385/0.9963, allocations: 439.1 kB / 1.119 GB, free: 42.21 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.292e-05/0.9963, allocations: 41.94 kB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.9963, allocations: 4 kB / 1.119 GB, free: 42.16 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2): time 0.0001182/0.9964, allocations: 41.45 kB / 1.119 GB, free: 42.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.734e-05/0.9965, allocations: 51.41 kB / 1.119 GB, free: 42.05 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.126e-05/0.9965, allocations: 89.66 kB / 1.119 GB, free: 41.96 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 6.772e-06/0.9965, allocations: 26.45 kB / 1.119 GB, free: 41.93 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.238e-05/0.9965, allocations: 95.31 kB / 1.119 GB, free: 41.84 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.214e-05/0.9966, allocations: 8.672 kB / 1.119 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.9966, allocations: 0 / 1.119 GB, free: 41.83 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 3.468e-05/0.9966, allocations: 318.8 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.368e-05/0.9966, allocations: 7.875 kB / 1.119 GB, free: 41.51 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.119e-05/0.9966, allocations: 4 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.518e-05/0.9967, allocations: 3.688 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.9967, allocations: 4.562 kB / 1.119 GB, free: 41.5 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 5.566e-05/0.9967, allocations: 45.03 kB / 1.119 GB, free: 41.46 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 9.789e-06/0.9967, allocations: 4.625 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.9968, allocations: 5 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.163e-05/0.9968, allocations: 4.094 kB / 1.119 GB, free: 41.45 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.25e-05/0.9969, allocations: 11.94 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.9969, allocations: 0.5625 kB / 1.119 GB, free: 41.44 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.737e-05/0.9969, allocations: 10.75 kB / 1.119 GB, free: 41.43 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.982e-06/0.9969, allocations: 4 kB / 1.119 GB, free: 41.43 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 (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 3.718e-05/0.997, allocations: 104.9 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.142e-05/0.997, allocations: 3.906 kB / 1.119 GB, free: 41.32 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.698e-05/0.9971, allocations: 60.84 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.904e-06/0.9971, allocations: 1.266 kB / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.9971, allocations: 0 / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.9971, allocations: 0 / 1.119 GB, free: 41.26 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001062/0.9972, allocations: 160.5 kB / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.81e-07/0.9972, allocations: 0 / 1.12 GB, free: 41.07 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.995e-05/0.9973, allocations: 12.45 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.793e-06/0.9973, allocations: 0 / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.992e-06/0.9973, allocations: 0.6562 kB / 1.12 GB, free: 41.06 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.9973, allocations: 8.031 kB / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.9973, allocations: 0 / 1.12 GB, free: 41.05 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.029e-05/0.9974, allocations: 135.4 kB / 1.12 GB, free: 40.91 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.502e-05/0.9974, allocations: 81.11 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.134e-05/0.9975, allocations: 0.9375 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.478e-05/0.9975, allocations: 7.422 kB / 1.12 GB, free: 40.81 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.145e-05/0.9976, allocations: 12.62 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.766e-06/0.9976, allocations: 3.938 kB / 1.12 GB, free: 40.8 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 1.846e-05/0.9976, allocations: 79.94 kB / 1.12 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9976, allocations: 0 / 1.12 GB, free: 40.72 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002112/0.9978, allocations: 27.31 kB / 1.12 GB, free: 40.7 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 (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.0002969/0.9981, allocations: 0.7029 MB / 1.121 GB, free: 39.98 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 5.892e-05/0.9982, allocations: 15.25 kB / 1.121 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.9982, allocations: 0.6562 kB / 1.121 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.744e-05/0.9982, allocations: 7.938 kB / 1.121 GB, free: 39.97 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001379/0.9984, allocations: 8.125 kB / 1.121 GB, free: 39.96 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002552/0.9986, allocations: 103.8 kB / 1.121 GB, free: 39.84 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.048e-05/0.9987, allocations: 0.6803 MB / 1.121 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.092e-05/0.9988, allocations: 1.938 kB / 1.121 GB, free: 39.14 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.351e-05/0.9988, allocations: 10.94 kB / 1.121 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of SimCode: time 2.5e-07/0.9988, allocations: 0 / 1.121 GB, free: 39.13 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/1.011, allocations: 1.214 MB / 1.123 GB, free: 38.5 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/1.011, allocations: 149.1 kB / 1.123 GB, free: 38.28 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.492/2.503, allocations: 8 kB / 1.123 GB, free: 38.27 MB / 0.7448 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)