Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001313/0.001313, allocations: 101.4 kB / 15.7 MB, free: 28 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 195.6 kB / 16.64 MB, free: 6.438 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.401/1.401, allocations: 205.1 MB / 222.5 MB, free: 4.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.967/1.967, allocations: 292.3 MB / 0.549 GB, free: 12.77 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001665/0.001666, allocations: 73.7 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2639/0.2656, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.002076/0.2677, allocations: 0.5858 MB / 0.7842 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004874/0.2682, allocations: 191.3 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.234e-05/0.2683, allocations: 4 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.543e-05/0.2683, allocations: 0 / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.53e-06/0.2683, allocations: 0 / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004178/0.2687, allocations: 51.83 kB / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.138e-05/0.2688, allocations: 0 / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.356e-05/0.2688, allocations: 7.984 kB / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.49e-05/0.2688, allocations: 0 / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.38e-05/0.2689, allocations: 0 / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 6.452e-06/0.2689, allocations: 0 / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001741/0.2691, allocations: 59.89 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.578e-06/0.2691, allocations: 3.984 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.618e-05/0.2691, allocations: 4 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001198/0.2692, allocations: 31.95 kB / 0.7846 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.2692, allocations: 0 / 0.7846 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.475e-06/0.2692, allocations: 3.938 kB / 0.7846 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.2693, allocations: 0 / 0.7846 GB, free: 12.32 MB / 0.6075 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.0003313/0.2696, allocations: 323.6 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.2696, allocations: 8.031 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.881e-05/0.2697, allocations: 30.75 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.989e-05/0.2697, allocations: 0.9375 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001156/0.2698, allocations: 160.4 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.221e-05/0.2699, allocations: 4.375 kB / 0.7851 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.325e-05/0.2699, allocations: 4.375 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.27, allocations: 30.25 kB / 0.7851 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.27, allocations: 3.938 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-06/0.27, allocations: 7.922 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.504e-06/0.27, allocations: 3.938 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.284e-05/0.2701, allocations: 4 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001597/0.2702, allocations: 149.7 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.207e-05/0.2703, allocations: 18.58 kB / 0.7853 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.848e-05/0.2703, allocations: 8.953 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000777/0.2711, allocations: 457.4 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.2711, allocations: 34.56 kB / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.353e-06/0.2711, allocations: 0 / 0.7858 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001507/0.2713, allocations: 41.58 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.706e-05/0.2713, allocations: 51.41 kB / 0.7858 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.759e-05/0.2714, allocations: 89.86 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.431e-05/0.2714, allocations: 25.7 kB / 0.786 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.993e-05/0.2715, allocations: 84.12 kB / 0.786 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 3.463e-05/0.2715, allocations: 3.906 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.287e-05/0.2715, allocations: 17.84 kB / 0.7861 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001183/0.2717, allocations: 314.8 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.095e-05/0.2717, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.2717, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.098e-05/0.2717, allocations: 12.8 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.2717, allocations: 0 / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.863e-05/0.2718, allocations: 33.7 kB / 0.7864 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.097e-05/0.2718, allocations: 11.98 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/0.2718, allocations: 4.031 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.748e-05/0.2719, allocations: 7.938 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.337e-05/0.2719, allocations: 0 / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.95e-06/0.2719, allocations: 0 / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.613e-05/0.2719, allocations: 4 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/0.272, allocations: 3.984 kB / 0.7864 GB, free: 10.08 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.523e-05/0.272, allocations: 105.8 kB / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.352e-06/0.272, allocations: 0 / 0.7865 GB, free: 9.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.341e-05/0.2721, allocations: 44.97 kB / 0.7866 GB, free: 9.91 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.2721, allocations: 4.031 kB / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.2722, allocations: 0 / 0.7866 GB, free: 9.906 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.2722, allocations: 4 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.736e-05/0.2723, allocations: 145.7 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.01e-07/0.2723, allocations: 0 / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.144e-05/0.2723, allocations: 0 / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.988e-06/0.2723, allocations: 3.984 kB / 0.7867 GB, free: 9.707 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.634e-06/0.2723, allocations: 7.938 kB / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.2723, allocations: 0 / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.2723, allocations: 0 / 0.7867 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.635e-05/0.2724, allocations: 57.08 kB / 0.7868 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.937e-05/0.2724, allocations: 84.98 kB / 0.7869 GB, free: 9.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.2725, allocations: 11.94 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.907e-06/0.2725, allocations: 7.984 kB / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.044e-05/0.2725, allocations: 0 / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.2725, allocations: 0 / 0.7869 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.879e-05/0.2725, allocations: 75.28 kB / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2725, allocations: 32 / 0.787 GB, free: 9.43 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002151/0.2728, allocations: 20 kB / 0.787 GB, free: 9.41 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004551/0.2732, allocations: 0.6086 MB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.166e-05/0.2733, allocations: 7.938 kB / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.2733, allocations: 0 / 0.7876 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.956e-06/0.2733, allocations: 7.984 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001604/0.2735, allocations: 0.9375 kB / 0.7876 GB, free: 8.754 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003175/0.2738, allocations: 114.6 kB / 0.7877 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002099/0.274, allocations: 0.669 MB / 0.7884 GB, free: 7.906 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.341e-05/0.2741, allocations: 11.92 kB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.64e-05/0.2741, allocations: 11.56 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.2741, allocations: 0 / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01994/0.294, allocations: 1.125 MB / 0.7895 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.4/7.694, allocations: 8 kB / 0.7895 GB, free: 6.828 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)