Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1",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.589/1.589, allocations: 289.9 MB / 297.4 MB, free: 6.398 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.000978/0.000978, allocations: 172.9 kB / 366.7 MB, free: 1.652 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.099/2.099, allocations: 205.2 MB / 0.626 GB, free: 7.184 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.0009662/0.0009658, allocations: 89.33 kB / 0.74 GB, free: 39.56 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.031e-05/3.034e-05, allocations: 8 kB / 0.8598 GB, free: 13 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8444/0.8445, allocations: 116.3 MB / 0.9733 GB, free: 76.29 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2053/1.05, allocations: 138.4 MB / 1.108 GB, free: 11.72 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/1.05, allocations: 75.34 kB / 1.109 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.004721/1.055, allocations: 1.547 MB / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.793e-06/1.055, allocations: 0 / 1.11 GB, free: 10.14 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.161e-06/1.055, allocations: 0 / 1.11 GB, free: 10.14 MB / 0.7136 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.0003685/1.055, allocations: 360.1 kB / 1.11 GB, free: 9.742 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/1.055, allocations: 15.81 kB / 1.11 GB, free: 9.73 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/1.056, allocations: 3.906 kB / 1.11 GB, free: 9.727 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/1.056, allocations: 171.8 kB / 1.111 GB, free: 9.52 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.485e-05/1.056, allocations: 4 kB / 1.111 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.706e-06/1.056, allocations: 0.5 kB / 1.111 GB, free: 9.516 MB / 0.7136 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.457e-05/1.056, allocations: 8 kB / 1.111 GB, free: 9.508 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.072e-05/1.056, allocations: 38.34 kB / 1.111 GB, free: 9.465 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.056, allocations: 4.562 kB / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.149e-05/1.056, allocations: 0.5625 kB / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/1.056, allocations: 0 / 1.111 GB, free: 9.461 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004399/1.056, allocations: 248 kB / 1.111 GB, free: 9.184 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.347e-05/1.056, allocations: 24.08 kB / 1.111 GB, free: 9.152 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.753e-05/1.056, allocations: 12.92 kB / 1.111 GB, free: 9.137 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006049/1.057, allocations: 447.8 kB / 1.111 GB, free: 8.609 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.761e-05/1.057, allocations: 35 kB / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.302e-06/1.057, allocations: 0 / 1.111 GB, free: 8.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001722/1.057, allocations: 37.7 kB / 1.111 GB, free: 8.527 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.92e-05/1.057, allocations: 51.41 kB / 1.111 GB, free: 8.465 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.757e-05/1.057, allocations: 98.17 kB / 1.112 GB, free: 8.363 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.604e-05/1.057, allocations: 25.7 kB / 1.112 GB, free: 8.332 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.14e-05/1.057, allocations: 92.67 kB / 1.112 GB, free: 8.238 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.699e-05/1.058, allocations: 3.906 kB / 1.112 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.176e-06/1.058, allocations: 0.875 kB / 1.112 GB, free: 8.234 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001077/1.058, allocations: 311.3 kB / 1.112 GB, free: 7.922 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.032e-05/1.058, allocations: 8.719 kB / 1.112 GB, free: 7.914 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.091e-05/1.058, allocations: 4 kB / 1.112 GB, free: 7.91 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.156e-05/1.058, allocations: 9.781 kB / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/1.058, allocations: 0 / 1.112 GB, free: 7.902 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.046e-05/1.058, allocations: 41.7 kB / 1.112 GB, free: 7.855 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.387e-05/1.058, allocations: 4 kB / 1.112 GB, free: 7.852 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.023e-06/1.058, allocations: 6.906 kB / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.038e-05/1.058, allocations: 0 / 1.112 GB, free: 7.848 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.212e-05/1.058, allocations: 11.98 kB / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.467e-06/1.058, allocations: 0 / 1.112 GB, free: 7.836 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.963e-05/1.058, allocations: 11.98 kB / 1.112 GB, free: 7.824 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/1.058, allocations: 0 / 1.112 GB, free: 7.824 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 6.865e-05/1.058, allocations: 108.9 kB / 1.112 GB, free: 7.711 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 9.319e-05/1.058, allocations: 49.61 kB / 1.112 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.885e-05/1.058, allocations: 0 / 1.112 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001017/1.058, allocations: 48.06 kB / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/1.058, allocations: 0 / 1.112 GB, free: 7.602 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/1.058, allocations: 4 kB / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/1.058, allocations: 0 / 1.112 GB, free: 7.598 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001304/1.058, allocations: 142.2 kB / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/1.059, allocations: 0 / 1.112 GB, free: 7.422 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.538e-05/1.059, allocations: 16 kB / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.764e-06/1.059, allocations: 0 / 1.112 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.967e-06/1.059, allocations: 3.984 kB / 1.112 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.01e-07/1.059, allocations: 0 / 1.112 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/1.059, allocations: 1.781 kB / 1.112 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/1.059, allocations: 139.5 kB / 1.113 GB, free: 7.25 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-05/1.059, allocations: 81.02 kB / 1.113 GB, free: 7.152 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.454e-05/1.059, allocations: 4.172 kB / 1.113 GB, free: 7.148 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.643e-05/1.059, allocations: 12.03 kB / 1.113 GB, free: 7.137 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.827e-05/1.059, allocations: 7.969 kB / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.787e-06/1.059, allocations: 0 / 1.113 GB, free: 7.129 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.508e-05/1.059, allocations: 83.22 kB / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.059, allocations: 0 / 1.113 GB, free: 7.047 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002336/1.059, allocations: 27.94 kB / 1.113 GB, free: 7.02 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.000511/1.06, allocations: 0.7045 MB / 1.113 GB, free: 6.289 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.571e-05/1.06, allocations: 12 kB / 1.113 GB, free: 6.277 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/1.06, allocations: 4.094 kB / 1.113 GB, free: 6.273 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.199e-05/1.06, allocations: 12 kB / 1.113 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001694/1.06, allocations: 2.891 kB / 1.113 GB, free: 6.262 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003436/1.06, allocations: 104 kB / 1.114 GB, free: 6.125 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000231/1.061, allocations: 0.6818 MB / 1.114 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 2.359e-05/1.061, allocations: 1.812 kB / 1.114 GB, free: 5.418 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.688e-05/1.061, allocations: 7.438 kB / 1.114 GB, free: 5.41 MB / 0.7136 GB Notification: Performance of SimCode: time 5.01e-07/1.061, allocations: 4.062 kB / 1.114 GB, free: 5.406 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01805/1.079, allocations: 0.9114 MB / 1.115 GB, free: 4.523 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/1.079, allocations: 126.9 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.573, allocations: 2.375 kB / 1.115 GB, free: 4.336 MB / 0.7136 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)