Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.795/1.795, allocations: 251.9 MB / 266.9 MB, free: 11 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001055/0.001056, allocations: 182.4 kB / 326.5 MB, free: 2.234 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.751/1.751, allocations: 205.4 MB / 0.5775 GB, free: 20.57 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009625/0.0009628, allocations: 91.91 kB / 0.6821 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003934/0.0003935, allocations: 8.875 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2727/0.2731, allocations: 106.3 MB / 0.9002 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.192/0.4652, allocations: 131.2 MB / 1.028 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003518/0.4656, allocations: 71.95 kB / 1.028 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003774/0.4694, allocations: 1.285 MB / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.511e-06/0.4694, allocations: 0 / 1.03 GB, free: 11.5 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.454e-06/0.4695, allocations: 3.938 kB / 1.03 GB, free: 11.49 MB / 0.6823 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.000357/0.4698, allocations: 331.4 kB / 1.03 GB, free: 11.12 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.052e-05/0.4699, allocations: 12.02 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.089e-05/0.47, allocations: 30.56 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.974e-05/0.47, allocations: 3.906 kB / 1.03 GB, free: 11.07 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000135/0.4702, allocations: 167 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.337e-05/0.4702, allocations: 0 / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4702, allocations: 7.984 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000113/0.4703, allocations: 29.64 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.4703, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.799e-06/0.4704, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.863e-06/0.4704, allocations: 0 / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.289e-05/0.4704, allocations: 4 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001592/0.4706, allocations: 153.6 kB / 1.03 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 4.341e-05/0.4706, allocations: 18.58 kB / 1.03 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006885/0.4713, allocations: 445.6 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.93e-05/0.4713, allocations: 34.5 kB / 1.031 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.4714, allocations: 8 kB / 1.031 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1): time 0.0001496/0.4715, allocations: 33.69 kB / 1.031 GB, free: 9.973 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.4716, allocations: 51.41 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.564e-05/0.4716, allocations: 85 kB / 1.031 GB, free: 9.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.466e-05/0.4716, allocations: 25.7 kB / 1.031 GB, free: 9.789 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.014e-05/0.4717, allocations: 80.14 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.4717, allocations: 4 kB / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.408e-06/0.4717, allocations: 0 / 1.031 GB, free: 9.703 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001369/0.4719, allocations: 319.7 kB / 1.031 GB, free: 9.383 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.895e-06/0.4719, allocations: 7.938 kB / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.549e-06/0.4719, allocations: 0 / 1.031 GB, free: 9.375 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.862e-05/0.4719, allocations: 3.938 kB / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-06/0.4719, allocations: 0 / 1.031 GB, free: 9.371 MB / 0.6823 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.277e-05/0.472, allocations: 45.64 kB / 1.031 GB, free: 9.32 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.511e-05/0.472, allocations: 4 kB / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.472, allocations: 0 / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.472, allocations: 0 / 1.031 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.412e-05/0.4721, allocations: 4.094 kB / 1.031 GB, free: 9.312 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.704e-06/0.4721, allocations: 4 kB / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.007e-05/0.4721, allocations: 0 / 1.031 GB, free: 9.309 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.721e-06/0.4721, allocations: 0 / 1.031 GB, free: 9.309 MB / 0.6823 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 8.236e-05/0.4722, allocations: 109.8 kB / 1.032 GB, free: 9.191 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.4722, allocations: 3.953 kB / 1.032 GB, free: 9.188 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.55e-05/0.4723, allocations: 44.75 kB / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.4723, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.969e-06/0.4723, allocations: 0 / 1.032 GB, free: 9.137 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.4723, allocations: 4.031 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001032/0.4724, allocations: 145.6 kB / 1.032 GB, free: 8.941 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4725, allocations: 3.984 kB / 1.032 GB, free: 8.938 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.218e-05/0.4725, allocations: 4 kB / 1.032 GB, free: 8.934 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.4725, allocations: 3.953 kB / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.4725, allocations: 0 / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.4725, allocations: 0 / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.4725, allocations: 0 / 1.032 GB, free: 8.93 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.346e-05/0.4726, allocations: 61.14 kB / 1.032 GB, free: 8.852 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.636e-05/0.4726, allocations: 81.09 kB / 1.032 GB, free: 8.754 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.4727, allocations: 7.891 kB / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.162e-06/0.4727, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.281e-05/0.4727, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.563e-06/0.4727, allocations: 0 / 1.032 GB, free: 8.746 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.461e-05/0.4727, allocations: 75.28 kB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9e-08/0.4727, allocations: 0 / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002035/0.4729, allocations: 24 kB / 1.032 GB, free: 8.648 MB / 0.6823 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.0004882/0.4734, allocations: 0.628 MB / 1.033 GB, free: 7.992 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 6.462e-05/0.4735, allocations: 11.97 kB / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.4735, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 5.159e-06/0.4735, allocations: 0 / 1.033 GB, free: 7.98 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.862e-05/0.4736, allocations: 8.469 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.474, allocations: 120.3 kB / 1.033 GB, free: 7.812 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002514/0.4742, allocations: 0.677 MB / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 1.141e-05/0.4742, allocations: 0 / 1.033 GB, free: 7.109 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.492e-05/0.4743, allocations: 7.562 kB / 1.033 GB, free: 7.102 MB / 0.6823 GB Notification: Performance of SimCode: time 2.3e-07/0.4743, allocations: 4 kB / 1.033 GB, free: 7.098 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01205/0.4863, allocations: 0.9371 MB / 1.034 GB, free: 6.301 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001769/0.4866, allocations: 183.9 kB / 1.034 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.619/2.105, allocations: 4 kB / 1.034 GB, free: 6.062 MB / 0.6823 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)