Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",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.605/1.605, allocations: 285.4 MB / 298 MB, free: 5.961 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.001315/0.001315, allocations: 172.9 kB / 366.4 MB, free: 2.078 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.597/1.597, allocations: 205.1 MB / 0.6248 GB, free: 7.723 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.0008701/0.0008701, allocations: 90.72 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.191e-05/3.193e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7032/0.7033, allocations: 115.3 MB / 0.971 GB, free: 78 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2067/0.91, allocations: 137.3 MB / 1.105 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/0.9104, allocations: 75.95 kB / 1.105 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.003455/0.9139, allocations: 1.239 MB / 1.106 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.563e-06/0.9139, allocations: 0 / 1.106 GB, free: 13.13 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 5.451e-06/0.9139, allocations: 0 / 1.106 GB, free: 13.13 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002647/0.9142, allocations: 324 kB / 1.107 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.012e-05/0.9142, allocations: 15.97 kB / 1.107 GB, free: 12.75 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.269e-05/0.9143, allocations: 31.81 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.336e-05/0.9143, allocations: 4 kB / 1.107 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.839e-05/0.9144, allocations: 165.3 kB / 1.107 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.317e-06/0.9144, allocations: 1.25 kB / 1.107 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.708e-06/0.9144, allocations: 0 / 1.107 GB, free: 12.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.653e-05/0.9145, allocations: 29.7 kB / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.842e-06/0.9146, allocations: 0.6875 kB / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.905e-06/0.9146, allocations: 0 / 1.107 GB, free: 12.48 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.959e-06/0.9146, allocations: 11 kB / 1.107 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.13e-05/0.9146, allocations: 3.844 kB / 1.107 GB, free: 12.47 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001584/0.9148, allocations: 149.6 kB / 1.107 GB, free: 12.27 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.587e-05/0.9148, allocations: 22.52 kB / 1.107 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.875e-05/0.9148, allocations: 11.27 kB / 1.107 GB, free: 12.23 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005741/0.9154, allocations: 439.6 kB / 1.108 GB, free: 11.71 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.9155, allocations: 39.59 kB / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.9155, allocations: 0 / 1.108 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001257/0.9156, allocations: 29.7 kB / 1.108 GB, free: 11.63 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.96e-05/0.9157, allocations: 59.33 kB / 1.108 GB, free: 11.56 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.609e-05/0.9157, allocations: 85.78 kB / 1.108 GB, free: 11.47 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.731e-05/0.9157, allocations: 25.7 kB / 1.108 GB, free: 11.44 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.888e-05/0.9158, allocations: 80.7 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.426e-05/0.9158, allocations: 4.594 kB / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.607e-06/0.9158, allocations: 0 / 1.108 GB, free: 11.36 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.00014/0.916, allocations: 319.3 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.005e-05/0.916, allocations: 0.6875 kB / 1.108 GB, free: 11.04 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.135e-06/0.916, allocations: 4.531 kB / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.902e-05/0.916, allocations: 5.906 kB / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.916, allocations: 0 / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.754e-05/0.9161, allocations: 33.66 kB / 1.108 GB, free: 10.99 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.9161, allocations: 7.984 kB / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.889e-06/0.9161, allocations: 2.25 kB / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.9161, allocations: 0 / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.554e-05/0.9162, allocations: 4 kB / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.297e-06/0.9162, allocations: 0 / 1.108 GB, free: 10.98 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-06/0.9162, allocations: 3.938 kB / 1.108 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.481e-06/0.9162, allocations: 0 / 1.108 GB, free: 10.97 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 6.779e-05/0.9163, allocations: 106.3 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.023e-06/0.9163, allocations: 3.953 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.447e-05/0.9164, allocations: 37.38 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.9164, allocations: 0.7188 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.9164, allocations: 0 / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.9164, allocations: 2.344 kB / 1.108 GB, free: 10.82 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.958e-05/0.9165, allocations: 145.7 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.9166, allocations: 0 / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.397e-05/0.9166, allocations: 6.312 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.9166, allocations: 3.953 kB / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.9166, allocations: 0 / 1.109 GB, free: 10.62 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.9166, allocations: 8.141 kB / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.9166, allocations: 0 / 1.109 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.189e-05/0.9167, allocations: 61.08 kB / 1.109 GB, free: 10.53 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.911e-05/0.9167, allocations: 78.52 kB / 1.109 GB, free: 10.44 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.455e-05/0.9168, allocations: 3.953 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.543e-06/0.9168, allocations: 0 / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.9168, allocations: 3.984 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.977e-06/0.9168, allocations: 4 kB / 1.109 GB, free: 10.43 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.429e-05/0.9168, allocations: 79.31 kB / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9168, allocations: 0 / 1.109 GB, free: 10.35 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002112/0.9171, allocations: 19.94 kB / 1.109 GB, free: 10.33 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.0005043/0.9176, allocations: 0.6241 MB / 1.109 GB, free: 9.672 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 5.883e-05/0.9176, allocations: 7.938 kB / 1.109 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9176, allocations: 0 / 1.109 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.96e-06/0.9177, allocations: 0 / 1.109 GB, free: 9.664 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.366e-05/0.9178, allocations: 8.984 kB / 1.109 GB, free: 9.656 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002772/0.918, allocations: 98.66 kB / 1.109 GB, free: 9.523 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002385/0.9183, allocations: 0.675 MB / 1.11 GB, free: 8.824 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 1.33e-05/0.9183, allocations: 4 kB / 1.11 GB, free: 8.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.389e-05/0.9183, allocations: 7.438 kB / 1.11 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of SimCode: time 2.21e-07/0.9183, allocations: 0 / 1.11 GB, free: 8.812 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01223/0.9306, allocations: 0.9468 MB / 1.111 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002282/0.9309, allocations: 168.7 kB / 1.111 GB, free: 7.832 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.566/2.496, allocations: 0 / 1.111 GB, free: 7.832 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)