Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.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.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0",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.331/1.331, allocations: 252 MB / 267 MB, free: 10.97 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.0009434/0.0009434, allocations: 182 kB / 326.6 MB, free: 2.23 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.77/1.77, allocations: 205.4 MB / 0.5777 GB, free: 20.27 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.0007839/0.0007839, allocations: 96.06 kB / 0.6823 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004094/0.0004097, allocations: 10.31 kB / 0.7964 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2472/0.2476, allocations: 106.4 MB / 0.9003 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.001536/0.2492, allocations: 1.16 MB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004648/0.2497, allocations: 220.4 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.513e-05/0.2497, allocations: 0 / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.388e-05/0.2498, allocations: 3.938 kB / 0.9017 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.728e-05/0.2498, allocations: 0 / 0.9017 GB, free: 62.44 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003022/0.2501, allocations: 43.89 kB / 0.9017 GB, free: 62.4 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.254e-05/0.2502, allocations: 27.92 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.572e-05/0.2503, allocations: 4 kB / 0.9017 GB, free: 62.37 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.019e-05/0.2503, allocations: 7.984 kB / 0.9017 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.002e-05/0.2504, allocations: 11.88 kB / 0.9017 GB, free: 62.35 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.18e-05/0.2504, allocations: 4 kB / 0.9017 GB, free: 62.34 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001356/0.2505, allocations: 59.88 kB / 0.9018 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 8.746e-06/0.2505, allocations: 4 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.936e-05/0.2506, allocations: 25.7 kB / 0.9018 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.406e-05/0.2507, allocations: 39.92 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.102e-06/0.2507, allocations: 4 kB / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.964e-06/0.2507, allocations: 0 / 0.9019 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.899e-06/0.2507, allocations: 0 / 0.9019 GB, free: 62.21 MB / 0.6042 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.0003751/0.2511, allocations: 335.4 kB / 0.9022 GB, free: 61.83 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/0.2511, allocations: 8.031 kB / 0.9022 GB, free: 61.82 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.003e-05/0.2512, allocations: 38.5 kB / 0.9022 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.106e-05/0.2512, allocations: 4 kB / 0.9022 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.54e-05/0.2513, allocations: 175.2 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.337e-06/0.2513, allocations: 0 / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.011e-05/0.2513, allocations: 4 kB / 0.9024 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001663/0.2515, allocations: 53.67 kB / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.2515, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.2515, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.967e-06/0.2515, allocations: 0 / 0.9025 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.2517, allocations: 47.95 kB / 0.9025 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002594/0.252, allocations: 248.9 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.2521, allocations: 46.55 kB / 0.9028 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.698e-05/0.2522, allocations: 28.91 kB / 0.9028 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005378/0.2527, allocations: 457.5 kB / 0.9033 GB, free: 60.54 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.808e-05/0.2528, allocations: 34.56 kB / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.2528, allocations: 0 / 0.9033 GB, free: 60.49 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003371/0.2531, allocations: 97.58 kB / 0.9034 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.105e-05/0.2531, allocations: 55.41 kB / 0.9034 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.072e-05/0.2532, allocations: 105.8 kB / 0.9035 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.205e-06/0.2532, allocations: 25.7 kB / 0.9036 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.66e-05/0.2532, allocations: 80.14 kB / 0.9036 GB, free: 60.1 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.453e-05/0.2533, allocations: 11.91 kB / 0.9036 GB, free: 60.09 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.828e-06/0.2533, allocations: 8.062 kB / 0.9037 GB, free: 60.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.478e-05/0.2533, allocations: 318.8 kB / 0.904 GB, free: 59.76 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.97e-05/0.2534, allocations: 15.98 kB / 0.904 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.779e-05/0.2535, allocations: 23.98 kB / 0.904 GB, free: 59.72 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.704e-05/0.2536, allocations: 20.05 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.2536, allocations: 4 kB / 0.904 GB, free: 59.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001808/0.2538, allocations: 81.59 kB / 0.9041 GB, free: 59.61 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.169e-05/0.2538, allocations: 8.031 kB / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.2538, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.2538, allocations: 0 / 0.9041 GB, free: 59.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.272e-05/0.2539, allocations: 11.98 kB / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.081e-06/0.2539, allocations: 0 / 0.9041 GB, free: 59.59 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.663e-05/0.254, allocations: 11.98 kB / 0.9041 GB, free: 59.58 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.566e-06/0.254, allocations: 7.953 kB / 0.9041 GB, free: 59.57 MB / 0.6042 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 (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 4.849e-05/0.2541, allocations: 109.8 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.151e-05/0.2541, allocations: 8.094 kB / 0.9042 GB, free: 59.45 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002214/0.2543, allocations: 84.77 kB / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.2543, allocations: 0 / 0.9043 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.857e-06/0.2543, allocations: 7.969 kB / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.2543, allocations: 0 / 0.9043 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.2545, allocations: 165.6 kB / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2545, allocations: 0 / 0.9045 GB, free: 59.14 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.532e-05/0.2545, allocations: 8 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.2545, allocations: 0 / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.253e-06/0.2545, allocations: 4 kB / 0.9045 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.2546, allocations: 3.984 kB / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2546, allocations: 0 / 0.9045 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002012/0.2548, allocations: 171.5 kB / 0.9047 GB, free: 58.94 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.832e-05/0.2548, allocations: 81.09 kB / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.2548, allocations: 0 / 0.9048 GB, free: 58.84 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.127e-05/0.2549, allocations: 12.03 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.618e-05/0.2549, allocations: 3.984 kB / 0.9048 GB, free: 58.83 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-06/0.2549, allocations: 4 kB / 0.9048 GB, free: 58.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.031e-05/0.255, allocations: 79.28 kB / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.62e-07/0.255, allocations: 0 / 0.9048 GB, free: 58.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002016/0.2552, allocations: 19.94 kB / 0.9049 GB, free: 58.73 MB / 0.6042 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 (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.0004581/0.2556, allocations: 0.7348 MB / 0.9056 GB, free: 57.96 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002082/0.2559, allocations: 43.97 kB / 0.9056 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.2559, allocations: 0 / 0.9056 GB, free: 57.92 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.414e-05/0.256, allocations: 31.97 kB / 0.9057 GB, free: 57.89 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002152/0.2562, allocations: 11.94 kB / 0.9057 GB, free: 57.88 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003528/0.2565, allocations: 130.4 kB / 0.9058 GB, free: 57.71 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.2567, allocations: 0.677 MB / 0.9065 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.217e-05/0.2567, allocations: 4 kB / 0.9065 GB, free: 57.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.591e-05/0.2567, allocations: 11.5 kB / 0.9065 GB, free: 57 MB / 0.6042 GB Notification: Performance of SimCode: time 2.1e-07/0.2567, allocations: 0 / 0.9065 GB, free: 57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01124/0.268, allocations: 1.262 MB / 0.9077 GB, free: 55.86 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001509/0.2682, allocations: 181.7 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.605/1.873, allocations: 4.062 kB / 0.9079 GB, free: 55.62 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)