Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1",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.001738/0.001738, allocations: 111.3 kB / 15.23 MB, free: 0.6367 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 191.7 kB / 16.14 MB, free: 6.734 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.345/1.345, allocations: 205.1 MB / 222 MB, free: 4.73 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.71/1.71, allocations: 292.3 MB / 0.5484 GB, free: 13.64 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.001385/0.001385, allocations: 68.72 kB / 0.6709 GB, free: 26.42 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2706/0.272, allocations: 114.5 MB / 0.7828 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002435/0.2745, allocations: 1.497 MB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0005112/0.275, allocations: 261.1 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.11e-05/0.2751, allocations: 0 / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.027e-05/0.2751, allocations: 3.938 kB / 0.7845 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.762e-05/0.2752, allocations: 4 kB / 0.7845 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002982/0.2755, allocations: 55.88 kB / 0.7846 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.776e-05/0.2755, allocations: 19.94 kB / 0.7846 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.556e-05/0.2756, allocations: 7.984 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.368e-05/0.2756, allocations: 3.938 kB / 0.7846 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.407e-05/0.2757, allocations: 11.98 kB / 0.7846 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.091e-05/0.2757, allocations: 4 kB / 0.7846 GB, free: 12.01 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001413/0.2758, allocations: 67.86 kB / 0.7847 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.124e-05/0.2759, allocations: 3.938 kB / 0.7847 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.398e-05/0.2759, allocations: 12 kB / 0.7847 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001227/0.276, allocations: 55.84 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.276, allocations: 0 / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of FrontEnd: time 7.51e-07/0.276, allocations: 0 / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.527e-06/0.276, allocations: 0 / 0.7847 GB, free: 11.88 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003998/0.2764, allocations: 347.7 kB / 0.7851 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2765, allocations: 12.03 kB / 0.7851 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.2765, allocations: 30.75 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.098e-05/0.2765, allocations: 0.9375 kB / 0.7851 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.998e-05/0.2767, allocations: 176.3 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.267e-06/0.2767, allocations: 384 / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.367e-06/0.2767, allocations: 4.359 kB / 0.7853 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001551/0.2768, allocations: 46.25 kB / 0.7853 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.2769, allocations: 3.938 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.297e-06/0.2769, allocations: 0 / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.576e-06/0.2769, allocations: 0 / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001597/0.277, allocations: 43.89 kB / 0.7854 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002869/0.2773, allocations: 244.8 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.2775, allocations: 46.47 kB / 0.7856 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.197e-05/0.2776, allocations: 20.91 kB / 0.7857 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006471/0.2782, allocations: 465.4 kB / 0.7861 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.497e-05/0.2783, allocations: 30.56 kB / 0.7861 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2783, allocations: 0 / 0.7861 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003272/0.2786, allocations: 89.58 kB / 0.7862 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.593e-05/0.2786, allocations: 51.41 kB / 0.7863 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.997e-05/0.2787, allocations: 105.8 kB / 0.7864 GB, free: 9.898 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.113e-05/0.2787, allocations: 25.7 kB / 0.7864 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.452e-05/0.2788, allocations: 84.14 kB / 0.7865 GB, free: 9.781 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.564e-05/0.2788, allocations: 3.906 kB / 0.7865 GB, free: 9.777 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.751e-05/0.2788, allocations: 13.72 kB / 0.7865 GB, free: 9.758 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001015/0.2789, allocations: 319 kB / 0.7868 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.001e-05/0.279, allocations: 19.97 kB / 0.7868 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.552e-05/0.2791, allocations: 11.98 kB / 0.7868 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001381/0.2792, allocations: 36.83 kB / 0.7869 GB, free: 9.367 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.2792, allocations: 3.938 kB / 0.7869 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001942/0.2794, allocations: 73.66 kB / 0.7869 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.192e-05/0.2794, allocations: 4 kB / 0.7869 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.778e-06/0.2795, allocations: 0 / 0.7869 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.074e-05/0.2795, allocations: 0 / 0.7869 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.56e-05/0.2796, allocations: 11.98 kB / 0.787 GB, free: 9.27 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.913e-06/0.2796, allocations: 4 kB / 0.787 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.397e-05/0.2796, allocations: 8 kB / 0.787 GB, free: 9.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.251e-06/0.2796, allocations: 3.984 kB / 0.787 GB, free: 9.254 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 (2): * Single equations (assignments): 2 * 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 5.922e-05/0.2797, allocations: 118.4 kB / 0.7871 GB, free: 9.129 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.2797, allocations: 4 kB / 0.7871 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.2799, allocations: 72.69 kB / 0.7872 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.847e-06/0.2799, allocations: 0 / 0.7872 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.28, allocations: 3.938 kB / 0.7872 GB, free: 9.043 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.28, allocations: 4 kB / 0.7872 GB, free: 9.039 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.2801, allocations: 161.6 kB / 0.7873 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.2801, allocations: 4.031 kB / 0.7873 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.355e-05/0.2802, allocations: 4 kB / 0.7873 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.513e-06/0.2802, allocations: 3.938 kB / 0.7873 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.244e-06/0.2802, allocations: 0 / 0.7873 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2802, allocations: 4 kB / 0.7873 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.2802, allocations: 3.984 kB / 0.7873 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.2804, allocations: 159.5 kB / 0.7875 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.047e-05/0.2805, allocations: 85.09 kB / 0.7876 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.056e-05/0.2805, allocations: 0 / 0.7876 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.936e-05/0.2806, allocations: 4 kB / 0.7876 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.425e-05/0.2806, allocations: 3.984 kB / 0.7876 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2806, allocations: 0 / 0.7876 GB, free: 8.531 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.953e-05/0.2806, allocations: 83.22 kB / 0.7877 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.194e-06/0.2806, allocations: 0 / 0.7877 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002243/0.2809, allocations: 19.94 kB / 0.7877 GB, free: 8.43 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 (2): * Single equations (assignments): 2 * 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.0005347/0.2814, allocations: 0.7203 MB / 0.7884 GB, free: 7.68 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001828/0.2816, allocations: 35.97 kB / 0.7884 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.2816, allocations: 0 / 0.7884 GB, free: 7.645 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.052e-05/0.2817, allocations: 23.91 kB / 0.7884 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002164/0.2819, allocations: 7.938 kB / 0.7884 GB, free: 7.613 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/0.2823, allocations: 145 kB / 0.7886 GB, free: 7.434 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001982/0.2825, allocations: 0.6809 MB / 0.7892 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.925e-05/0.2826, allocations: 0 / 0.7892 GB, free: 6.727 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.603e-05/0.2826, allocations: 7.438 kB / 0.7893 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of SimCode: time 2.31e-07/0.2826, allocations: 0 / 0.7893 GB, free: 6.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.58/2.863, allocations: 1.322 MB / 0.7905 GB, free: 5.473 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003227/2.863, allocations: 188.7 kB / 0.7907 GB, free: 5.219 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.535/5.398, allocations: 0 / 0.7907 GB, free: 5.219 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)