Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_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.0.0/package.mo): time 2.483/2.483, allocations: 284.9 MB / 292.4 MB, free: 10.49 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.001418/0.001418, allocations: 176.9 kB / 360.6 MB, free: 7.281 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.204/2.204, allocations: 205.3 MB / 0.6191 GB, free: 12.2 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.001556/0.001555, allocations: 91.44 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.458e-05, allocations: 4 kB / 0.8509 GB, free: 3.324 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8874/0.8875, allocations: 115.2 MB / 0.9634 GB, free: 78.6 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2545/1.142, allocations: 137.3 MB / 1.097 GB, free: 3.203 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002704/1.142, allocations: 68.66 kB / 1.098 GB, free: 3.137 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.007257/1.15, allocations: 1.553 MB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of FrontEnd: time 7.524e-06/1.15, allocations: 0.5938 kB / 1.099 GB, free: 1.625 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.643e-06/1.15, allocations: 3.938 kB / 1.099 GB, free: 1.621 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004924/1.15, allocations: 357.6 kB / 1.099 GB, free: 1.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.784e-05/1.15, allocations: 8.031 kB / 1.099 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.598e-05/1.15, allocations: 9.094 kB / 1.099 GB, free: 1.215 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001545/1.15, allocations: 171 kB / 1.1 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.365e-05/1.15, allocations: 0.5938 kB / 1.1 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/1.151, allocations: 0 / 1.1 GB, free: 1.008 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.733e-05/1.151, allocations: 12.62 kB / 1.1 GB, free: 0.9961 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/1.151, allocations: 34.34 kB / 1.1 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.216e-05/1.151, allocations: 2.062 kB / 1.1 GB, free: 0.957 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.989e-06/1.151, allocations: 7.906 kB / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/1.151, allocations: 0 / 1.1 GB, free: 0.9531 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005043/1.151, allocations: 241.4 kB / 1.1 GB, free: 0.6797 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.668e-05/1.151, allocations: 22.58 kB / 1.1 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.878e-05/1.151, allocations: 13.8 kB / 1.1 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009342/1.152, allocations: 450 kB / 1.1 GB, free: 108 kB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.499e-05/1.152, allocations: 34.47 kB / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 2.865e-06/1.152, allocations: 0 / 1.1 GB, free: 68 kB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0002222/1.153, allocations: 41.64 kB / 1.1 GB, free: 20 kB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.912e-05/1.153, allocations: 55.41 kB / 1.1 GB, free: 15.95 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.11e-05/1.153, allocations: 100.1 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.095e-05/1.153, allocations: 25.7 kB / 1.101 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.129e-05/1.153, allocations: 80.14 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.196e-05/1.153, allocations: 3.906 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.348e-06/1.153, allocations: 3.938 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001421/1.153, allocations: 322.8 kB / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.117e-05/1.153, allocations: 0 / 1.101 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.471e-05/1.153, allocations: 12.03 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.971e-05/1.153, allocations: 4 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/1.153, allocations: 3.469 kB / 1.101 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001166/1.153, allocations: 41.69 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.153, allocations: 6.031 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.153, allocations: 4 kB / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.425e-05/1.153, allocations: 0 / 1.101 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001501/1.154, allocations: 18.11 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/1.154, allocations: 4.094 kB / 1.101 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.744e-05/1.154, allocations: 4 kB / 1.101 GB, free: 15.31 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/1.154, allocations: 4 kB / 1.101 GB, free: 15.31 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 8.832e-05/1.154, allocations: 108.9 kB / 1.101 GB, free: 15.2 MB / 0.7136 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001241/1.154, allocations: 41.61 kB / 1.101 GB, free: 15.15 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/1.154, allocations: 4 kB / 1.101 GB, free: 15.14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001504/1.154, allocations: 50.78 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.947e-06/1.154, allocations: 4.062 kB / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.819e-06/1.154, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/1.154, allocations: 0 / 1.101 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000188/1.154, allocations: 138.2 kB / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.264e-06/1.154, allocations: 0 / 1.101 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/1.155, allocations: 11.98 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/1.155, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.343e-05/1.155, allocations: 7.312 kB / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/1.155, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.965e-06/1.155, allocations: 0 / 1.101 GB, free: 14.9 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001641/1.155, allocations: 139.5 kB / 1.102 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 5.534e-05/1.155, allocations: 85.02 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/1.155, allocations: 0 / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001324/1.155, allocations: 7.984 kB / 1.102 GB, free: 14.64 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.323e-05/1.155, allocations: 4 kB / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/1.155, allocations: 0 / 1.102 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.733e-05/1.155, allocations: 92.09 kB / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.069e-06/1.155, allocations: 0 / 1.102 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.000378/1.156, allocations: 35.81 kB / 1.102 GB, free: 14.51 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.0007287/1.156, allocations: 0.6968 MB / 1.102 GB, free: 13.79 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001062/1.156, allocations: 12 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.942e-06/1.157, allocations: 4 kB / 1.102 GB, free: 13.77 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.404e-05/1.157, allocations: 7.938 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002294/1.157, allocations: 0.5625 kB / 1.102 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004654/1.157, allocations: 109.7 kB / 1.103 GB, free: 13.62 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/1.158, allocations: 0.6768 MB / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.431e-05/1.158, allocations: 0 / 1.103 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.243e-05/1.158, allocations: 17.11 kB / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of SimCode: time 1.082e-06/1.158, allocations: 0 / 1.103 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03613/1.194, allocations: 0.916 MB / 1.104 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004735/1.194, allocations: 129.2 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.412/3.606, allocations: 6.375 kB / 1.104 GB, free: 11.83 MB / 0.7136 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)