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.79/1.79, allocations: 288.2 MB / 303.2 MB, free: 8.227 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.001201/0.001201, allocations: 181 kB / 371.8 MB, free: 10.26 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.938/1.938, allocations: 205.4 MB / 0.6305 GB, free: 9.996 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001311/0.001311, allocations: 97.09 kB / 0.7439 GB, free: 5.926 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004642/0.0004646, allocations: 21.05 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2896/0.2901, allocations: 115.3 MB / 0.9795 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9757/1.266, allocations: 137.5 MB / 1.114 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003364/1.266, allocations: 81.06 kB / 1.114 GB, free: 16.46 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.005567/1.272, allocations: 1.268 MB / 1.115 GB, free: 32.11 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.244e-06/1.272, allocations: 0 / 1.115 GB, free: 32.11 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.713e-06/1.272, allocations: 4 kB / 1.115 GB, free: 32.11 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.0004158/1.272, allocations: 334 kB / 1.115 GB, free: 31.75 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 7.964e-05/1.272, allocations: 15.2 kB / 1.115 GB, free: 31.75 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.215e-05/1.273, allocations: 35 kB / 1.115 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.071e-05/1.273, allocations: 0 / 1.115 GB, free: 31.71 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/1.273, allocations: 163 kB / 1.116 GB, free: 31.51 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.67e-05/1.273, allocations: 3.938 kB / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/1.273, allocations: 0 / 1.116 GB, free: 31.5 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001357/1.273, allocations: 33.67 kB / 1.116 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.273, allocations: 0 / 1.116 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.273, allocations: 2.625 kB / 1.116 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.134e-06/1.273, allocations: 0 / 1.116 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.174e-05/1.273, allocations: 0 / 1.116 GB, free: 31.47 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001991/1.273, allocations: 153.3 kB / 1.116 GB, free: 31.28 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 5.433e-05/1.273, allocations: 18.52 kB / 1.116 GB, free: 31.25 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/1.274, allocations: 456 kB / 1.116 GB, free: 30.78 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.636e-05/1.274, allocations: 34.38 kB / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 2.024e-06/1.274, allocations: 0 / 1.116 GB, free: 30.74 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0002097/1.275, allocations: 29.61 kB / 1.116 GB, free: 30.71 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/1.275, allocations: 55.34 kB / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.92e-05/1.275, allocations: 89.12 kB / 1.116 GB, free: 30.55 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.657e-05/1.275, allocations: 29.52 kB / 1.116 GB, free: 30.52 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.16e-05/1.275, allocations: 80.14 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.333e-05/1.275, allocations: 0.7812 kB / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.925e-06/1.275, allocations: 0 / 1.117 GB, free: 30.43 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.275, allocations: 320.1 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.48e-05/1.275, allocations: 3.938 kB / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.255e-06/1.275, allocations: 0 / 1.117 GB, free: 30.12 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.71e-05/1.275, allocations: 7.906 kB / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.715e-06/1.275, allocations: 0 / 1.117 GB, free: 30.11 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 8.152e-05/1.275, allocations: 33.5 kB / 1.117 GB, free: 30.08 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.36e-05/1.275, allocations: 8.125 kB / 1.117 GB, free: 30.08 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/1.275, allocations: 3.938 kB / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/1.275, allocations: 0 / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.73e-05/1.275, allocations: 7.625 kB / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.295e-06/1.275, allocations: 0 / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/1.276, allocations: 3.906 kB / 1.117 GB, free: 30.07 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/1.276, allocations: 3.625 kB / 1.117 GB, free: 30.07 MB / 0.698 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 () * Number of clocked 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 0.0001004/1.276, allocations: 113.8 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.117e-05/1.276, allocations: 3.953 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001084/1.276, allocations: 39.23 kB / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/1.276, allocations: 0 / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/1.276, allocations: 0 / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.01e-06/1.276, allocations: 2.719 kB / 1.117 GB, free: 29.91 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001067/1.276, allocations: 149.3 kB / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/1.276, allocations: 0 / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.58e-05/1.276, allocations: 0 / 1.117 GB, free: 29.73 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/1.276, allocations: 4.031 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/1.276, allocations: 6.625 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.263e-06/1.276, allocations: 0 / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/1.276, allocations: 3.875 kB / 1.117 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.887e-05/1.276, allocations: 55.73 kB / 1.117 GB, free: 29.65 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.606e-05/1.276, allocations: 80.98 kB / 1.117 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.59e-05/1.276, allocations: 0 / 1.117 GB, free: 29.56 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.739e-05/1.276, allocations: 7.797 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.546e-05/1.276, allocations: 7.969 kB / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.856e-06/1.276, allocations: 0 / 1.117 GB, free: 29.55 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.665e-05/1.276, allocations: 75.28 kB / 1.117 GB, free: 29.47 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.01e-07/1.276, allocations: 0 / 1.117 GB, free: 29.47 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003801/1.277, allocations: 26.66 kB / 1.117 GB, free: 29.46 MB / 0.698 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 () * Number of clocked 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.0006641/1.277, allocations: 0.6229 MB / 1.118 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.705e-05/1.278, allocations: 11.28 kB / 1.118 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/1.278, allocations: 0 / 1.118 GB, free: 28.86 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 1.424e-05/1.278, allocations: 10.56 kB / 1.118 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001382/1.278, allocations: 3.953 kB / 1.118 GB, free: 28.85 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004376/1.278, allocations: 116.4 kB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/1.279, allocations: 0.6725 MB / 1.119 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.974e-05/1.279, allocations: 0 / 1.119 GB, free: 28.01 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.475e-05/1.279, allocations: 13.95 kB / 1.119 GB, free: 28 MB / 0.698 GB Notification: Performance of SimCode: time 3.1e-07/1.279, allocations: 0 / 1.119 GB, free: 28 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01412/1.293, allocations: 0.9353 MB / 1.12 GB, free: 27.86 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/1.293, allocations: 196.5 kB / 1.12 GB, free: 27.62 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.598/2.891, allocations: 0 / 1.12 GB, free: 27.62 MB / 0.698 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)