Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.671/1.671, allocations: 285.6 MB / 293.1 MB, free: 10.18 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.001202/0.001201, allocations: 172.3 kB / 361.4 MB, free: 6.844 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.592/1.592, allocations: 205.2 MB / 0.62 GB, free: 11.63 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.000757/0.0007569, allocations: 86.31 kB / 0.733 GB, free: 44.18 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.487e-05/4.504e-05, allocations: 8 kB / 0.8518 GB, free: 2.609 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7663, allocations: 115.3 MB / 0.9645 GB, free: 78.97 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1792/0.9455, allocations: 136.7 MB / 1.098 GB, free: 3.098 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.9458, allocations: 75.95 kB / 1.098 GB, free: 3.023 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.0036/0.9494, allocations: 1.268 MB / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.754e-06/0.9495, allocations: 0 / 1.099 GB, free: 1.793 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.9495, allocations: 0.6562 kB / 1.099 GB, free: 1.793 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.0002812/0.9498, allocations: 331.1 kB / 1.1 GB, free: 1.426 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.9498, allocations: 8.75 kB / 1.1 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.9498, allocations: 1.031 kB / 1.1 GB, free: 1.418 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.89e-05/0.9499, allocations: 167.6 kB / 1.1 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.211e-05/0.95, allocations: 2.812 kB / 1.1 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.098e-05/0.95, allocations: 4.625 kB / 1.1 GB, free: 1.211 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.761e-05/0.95, allocations: 7.703 kB / 1.1 GB, free: 1.207 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.841e-05/0.9501, allocations: 25.7 kB / 1.1 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.474e-06/0.9501, allocations: 0.875 kB / 1.1 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.873e-06/0.9501, allocations: 0 / 1.1 GB, free: 1.176 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.239e-06/0.9501, allocations: 4.5 kB / 1.1 GB, free: 1.172 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001198/0.9503, allocations: 122.9 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.641e-05/0.9503, allocations: 19.22 kB / 1.1 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.925e-05/0.9503, allocations: 9.391 kB / 1.1 GB, free: 0.9766 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006331/0.951, allocations: 452 kB / 1.1 GB, free: 456 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.541e-05/0.951, allocations: 31.16 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 1.563e-06/0.951, allocations: 5.375 kB / 1.1 GB, free: 412 kB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001359/0.9512, allocations: 26.92 kB / 1.1 GB, free: 380 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.706e-05/0.9512, allocations: 58.22 kB / 1.101 GB, free: 312 kB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.082e-05/0.9512, allocations: 89 kB / 1.101 GB, free: 216 kB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.529e-05/0.9513, allocations: 25.7 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.614e-05/0.9513, allocations: 82.83 kB / 1.101 GB, free: 100 kB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.857e-05/0.9513, allocations: 7.844 kB / 1.101 GB, free: 92 kB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.984e-06/0.9514, allocations: 0 / 1.101 GB, free: 92 kB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001209/0.9515, allocations: 312.6 kB / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.186e-06/0.9515, allocations: 0 / 1.101 GB, free: 15.78 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.743e-06/0.9515, allocations: 4 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.443e-05/0.9516, allocations: 3.984 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.9516, allocations: 1.281 kB / 1.101 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.181e-05/0.9516, allocations: 33.64 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.9517, allocations: 10.8 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.769e-06/0.9517, allocations: 4 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.9517, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.919e-05/0.9517, allocations: 0 / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.9517, allocations: 1.312 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.026e-05/0.9518, allocations: 0.5312 kB / 1.101 GB, free: 15.72 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.742e-06/0.9518, allocations: 4.812 kB / 1.101 GB, free: 15.71 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 (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 5.925e-05/0.9518, allocations: 102.1 kB / 1.101 GB, free: 15.61 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 5.761e-05/0.9519, allocations: 37.69 kB / 1.101 GB, free: 15.57 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.753e-06/0.9519, allocations: 3.953 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.929e-05/0.952, allocations: 41.23 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.952, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.362e-06/0.952, allocations: 3.984 kB / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.314e-06/0.952, allocations: 0 / 1.101 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.084e-05/0.9521, allocations: 126.2 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.9521, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.267e-05/0.9521, allocations: 2.938 kB / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.9522, allocations: 0 / 1.101 GB, free: 15.36 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.9522, allocations: 8.359 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.392e-06/0.9522, allocations: 5.844 kB / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.723e-06/0.9522, allocations: 0 / 1.101 GB, free: 15.35 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.542e-05/0.9523, allocations: 61.25 kB / 1.101 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.295e-05/0.9523, allocations: 81.14 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.548e-06/0.9523, allocations: 0 / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.366e-06/0.9523, allocations: 3.953 kB / 1.102 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.092e-05/0.9524, allocations: 5.453 kB / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.064e-06/0.9524, allocations: 0 / 1.102 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.767e-05/0.9524, allocations: 75.28 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9524, allocations: 3.938 kB / 1.102 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002158/0.9526, allocations: 27.92 kB / 1.102 GB, free: 15.06 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.0004843/0.9531, allocations: 0.6239 MB / 1.102 GB, free: 14.41 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 6.122e-05/0.9532, allocations: 7.969 kB / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.9532, allocations: 0 / 1.102 GB, free: 14.4 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-05/0.9532, allocations: 7.984 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.31e-05/0.9533, allocations: 3.953 kB / 1.102 GB, free: 14.39 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003009/0.9536, allocations: 83.78 kB / 1.102 GB, free: 14.27 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.9539, allocations: 0.6768 MB / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.4e-05/0.954, allocations: 0 / 1.103 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.736e-05/0.954, allocations: 7.438 kB / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of SimCode: time 3.31e-07/0.954, allocations: 128 / 1.103 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01739/0.9714, allocations: 0.6514 MB / 1.104 GB, free: 12.94 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001775/0.9716, allocations: 150.7 kB / 1.104 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.413/2.385, allocations: 0 / 1.104 GB, free: 12.75 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)