Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_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.0/package.mo): time 2.862/2.862, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.002304/0.002304, allocations: 190.9 kB / 370.8 MB, free: 10.86 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.192/2.192, allocations: 205.4 MB / 0.6295 GB, free: 10.61 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.001156/0.001156, allocations: 92.97 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007776/0.0007778, allocations: 14.12 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2611, allocations: 115.3 MB / 0.9783 GB, free: 28.29 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007691/0.262, allocations: 313.9 kB / 0.9786 GB, free: 27.97 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000463/0.2624, allocations: 169.3 kB / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.025e-05/0.2625, allocations: 0 / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.162e-05/0.2625, allocations: 0 / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.49e-06/0.2625, allocations: 0 / 0.9788 GB, free: 27.8 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003434/0.2629, allocations: 35.91 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.547e-05/0.2629, allocations: 4 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.431e-05/0.263, allocations: 4 kB / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.457e-05/0.263, allocations: 0 / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.608e-05/0.263, allocations: 11.97 kB / 0.9788 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 8.075e-06/0.263, allocations: 0 / 0.9788 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001903/0.2632, allocations: 59.83 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 7.575e-06/0.2633, allocations: 4 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.12e-05/0.2633, allocations: 25.7 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.464e-05/0.2634, allocations: 23.95 kB / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.136e-06/0.2634, allocations: 0 / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.374e-06/0.2634, allocations: 0 / 0.9789 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.2634, allocations: 0 / 0.9789 GB, free: 27.63 MB / 0.6198 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.0002522/0.2637, allocations: 319.4 kB / 0.9792 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.911e-05/0.2638, allocations: 16.02 kB / 0.9792 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.377e-05/0.2638, allocations: 30.56 kB / 0.9793 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.384e-05/0.2638, allocations: 4 kB / 0.9793 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.031e-05/0.2639, allocations: 163 kB / 0.9794 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2639, allocations: 0 / 0.9794 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.817e-06/0.264, allocations: 3.938 kB / 0.9794 GB, free: 27.01 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.308e-05/0.2641, allocations: 33.64 kB / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.648e-06/0.2641, allocations: 4 kB / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.545e-06/0.2641, allocations: 0 / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.851e-06/0.2641, allocations: 0 / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.411e-05/0.2641, allocations: 3.984 kB / 0.9795 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001286/0.2643, allocations: 145.6 kB / 0.9796 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 4.35e-05/0.2643, allocations: 26.59 kB / 0.9796 GB, free: 26.74 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008857/0.2652, allocations: 457.5 kB / 0.9801 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.413e-05/0.2653, allocations: 34.5 kB / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 2.064e-06/0.2653, allocations: 0 / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001514/0.2654, allocations: 33.7 kB / 0.9801 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.662e-05/0.2655, allocations: 51.41 kB / 0.9802 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.313e-05/0.2655, allocations: 89.86 kB / 0.9803 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.336e-06/0.2655, allocations: 29.83 kB / 0.9803 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.439e-05/0.2656, allocations: 84.14 kB / 0.9804 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.298e-05/0.2656, allocations: 3.906 kB / 0.9804 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.2656, allocations: 0 / 0.9804 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.186e-05/0.2657, allocations: 314.8 kB / 0.9807 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.179e-05/0.2657, allocations: 0 / 0.9807 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.326e-06/0.2657, allocations: 3.938 kB / 0.9807 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.073e-05/0.2658, allocations: 4 kB / 0.9807 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2658, allocations: 11.95 kB / 0.9807 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.665e-05/0.2658, allocations: 33.7 kB / 0.9807 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.2659, allocations: 4 kB / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.2659, allocations: 4 kB / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.2659, allocations: 0 / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.913e-05/0.266, allocations: 0 / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.266, allocations: 0 / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.345e-05/0.266, allocations: 0 / 0.9807 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.414e-06/0.266, allocations: 3.984 kB / 0.9807 GB, free: 25.45 MB / 0.6198 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.833e-05/0.2661, allocations: 113.9 kB / 0.9809 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.806e-06/0.2661, allocations: 3.953 kB / 0.9809 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.054e-05/0.2662, allocations: 41.05 kB / 0.9809 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.2662, allocations: 0 / 0.9809 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.2663, allocations: 0 / 0.9809 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.216e-06/0.2663, allocations: 0 / 0.9809 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.778e-05/0.2664, allocations: 149.7 kB / 0.981 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.412e-06/0.2664, allocations: 0 / 0.981 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.812e-05/0.2664, allocations: 3.953 kB / 0.981 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.2664, allocations: 0 / 0.981 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.2664, allocations: 8.031 kB / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.643e-06/0.2664, allocations: 3.938 kB / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.706e-06/0.2664, allocations: 4 kB / 0.9811 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.745e-05/0.2665, allocations: 57.12 kB / 0.9811 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.2666, allocations: 81.05 kB / 0.9812 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.2666, allocations: 3.953 kB / 0.9812 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.619e-06/0.2666, allocations: 3.938 kB / 0.9812 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.457e-05/0.2666, allocations: 8.031 kB / 0.9812 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.746e-06/0.2666, allocations: 0 / 0.9812 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.808e-05/0.2667, allocations: 79.28 kB / 0.9813 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3e-07/0.2667, allocations: 0 / 0.9813 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002609/0.2669, allocations: 12 kB / 0.9813 GB, free: 24.79 MB / 0.6198 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.0003899/0.2673, allocations: 0.6086 MB / 0.9819 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.465e-05/0.2674, allocations: 4 kB / 0.9819 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.2674, allocations: 7.875 kB / 0.9819 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.052e-05/0.2675, allocations: 4 kB / 0.9819 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001129/0.2676, allocations: 3.953 kB / 0.9819 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003092/0.2679, allocations: 112.5 kB / 0.982 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001247/0.268, allocations: 0.6731 MB / 0.9827 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.671e-05/0.2681, allocations: 0 / 0.9827 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.76e-05/0.2681, allocations: 7.438 kB / 0.9827 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of SimCode: time 9.31e-07/0.2681, allocations: 0 / 0.9827 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02129/0.2894, allocations: 0.9503 MB / 0.9836 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002997/0.2898, allocations: 188 kB / 0.9838 GB, free: 22.21 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.365/2.655, allocations: 3.938 kB / 0.9838 GB, free: 22.2 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)