Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ0,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_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.001216/0.001216, allocations: 109.4 kB / 15.69 MB, free: 128 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.001357/0.001356, allocations: 185.6 kB / 16.62 MB, free: 6.613 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.468/1.468, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.665/1.665, allocations: 292.3 MB / 0.549 GB, free: 12.73 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.001444/0.001444, allocations: 66.66 kB / 0.6718 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2012/0.2027, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ0): time 0.002798/0.2055, allocations: 1.43 MB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00066/0.2062, allocations: 244.1 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3e-05/0.2062, allocations: 0 / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.104e-05/0.2063, allocations: 3.938 kB / 0.7853 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.401e-05/0.2063, allocations: 3.984 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003692/0.2067, allocations: 63.81 kB / 0.7853 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.85e-05/0.2068, allocations: 15.94 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001022/0.2069, allocations: 15.98 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.999e-05/0.2069, allocations: 7.984 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.868e-05/0.207, allocations: 11.92 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.207, allocations: 4 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001346/0.2071, allocations: 59.89 kB / 0.7854 GB, free: 11.37 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.132e-05/0.2072, allocations: 3.984 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.421e-05/0.2072, allocations: 7.938 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001351/0.2073, allocations: 51.86 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.402e-06/0.2073, allocations: 4 kB / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.573e-06/0.2073, allocations: 0 / 0.7855 GB, free: 11.3 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 9.598e-06/0.2074, allocations: 4 kB / 0.7855 GB, free: 11.3 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.0004541/0.2078, allocations: 347.7 kB / 0.7858 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.244e-05/0.2079, allocations: 11.97 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.65e-05/0.2079, allocations: 34.75 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.42e-05/0.2079, allocations: 4.938 kB / 0.7859 GB, free: 10.85 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001389/0.2081, allocations: 164.4 kB / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2081, allocations: 384 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.089e-05/0.2081, allocations: 384 / 0.786 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00019/0.2083, allocations: 58.17 kB / 0.7861 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.206e-05/0.2083, allocations: 3.938 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.406e-06/0.2083, allocations: 0 / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.2084, allocations: 4 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001535/0.2085, allocations: 27.97 kB / 0.7861 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003421/0.2089, allocations: 248.9 kB / 0.7864 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.209, allocations: 42.5 kB / 0.7864 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.448e-05/0.2091, allocations: 28.84 kB / 0.7864 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007209/0.2098, allocations: 449.5 kB / 0.7869 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.907e-05/0.2099, allocations: 38.56 kB / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.2099, allocations: 0 / 0.7869 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003709/0.2102, allocations: 77.64 kB / 0.787 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.2103, allocations: 59.34 kB / 0.787 GB, free: 9.445 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.775e-05/0.2104, allocations: 101.8 kB / 0.7871 GB, free: 9.336 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.503e-05/0.2104, allocations: 29.83 kB / 0.7872 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.076e-05/0.2104, allocations: 80.14 kB / 0.7872 GB, free: 9.219 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.187e-05/0.2105, allocations: 3.906 kB / 0.7872 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.385e-05/0.2105, allocations: 21.66 kB / 0.7873 GB, free: 9.188 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.2106, allocations: 310.8 kB / 0.7876 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.198e-05/0.2107, allocations: 23.97 kB / 0.7876 GB, free: 8.852 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.04e-05/0.2108, allocations: 11.98 kB / 0.7876 GB, free: 8.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001388/0.2109, allocations: 40.89 kB / 0.7876 GB, free: 8.797 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.211, allocations: 3.938 kB / 0.7876 GB, free: 8.793 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000174/0.2111, allocations: 61.66 kB / 0.7877 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.2112, allocations: 8 kB / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.2112, allocations: 0 / 0.7877 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.2112, allocations: 4.219 kB / 0.7877 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.856e-05/0.2113, allocations: 7.984 kB / 0.7877 GB, free: 8.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.3e-06/0.2113, allocations: 3.938 kB / 0.7877 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.204e-05/0.2114, allocations: 11.98 kB / 0.7877 GB, free: 8.691 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.334e-06/0.2114, allocations: 4 kB / 0.7877 GB, free: 8.688 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 7.734e-05/0.2115, allocations: 113.7 kB / 0.7878 GB, free: 8.566 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.533e-05/0.2115, allocations: 7.891 kB / 0.7878 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002137/0.2117, allocations: 80.78 kB / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.2117, allocations: 0 / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2117, allocations: 0 / 0.7879 GB, free: 8.473 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.2117, allocations: 3.938 kB / 0.7879 GB, free: 8.469 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.2119, allocations: 165.6 kB / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.2119, allocations: 0 / 0.7881 GB, free: 8.258 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.012e-05/0.2119, allocations: 8 kB / 0.7881 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.212, allocations: 0 / 0.7881 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.454e-06/0.212, allocations: 0 / 0.7881 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.335e-06/0.212, allocations: 4.031 kB / 0.7881 GB, free: 8.246 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.212, allocations: 7.922 kB / 0.7881 GB, free: 8.238 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002188/0.2122, allocations: 159.5 kB / 0.7883 GB, free: 8.066 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.544e-05/0.2122, allocations: 81.09 kB / 0.7883 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.469e-05/0.2123, allocations: 4 kB / 0.7883 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.01e-05/0.2123, allocations: 4 kB / 0.7883 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.964e-05/0.2124, allocations: 11.95 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.2124, allocations: 0 / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.721e-05/0.2124, allocations: 79.28 kB / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2124, allocations: 0 / 0.7884 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002329/0.2127, allocations: 16 kB / 0.7884 GB, free: 7.855 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.0005943/0.2133, allocations: 0.7202 MB / 0.7891 GB, free: 7.105 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.2135, allocations: 31.97 kB / 0.7892 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.2135, allocations: 4.094 kB / 0.7892 GB, free: 7.07 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.875e-05/0.2136, allocations: 19.97 kB / 0.7892 GB, free: 7.051 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002377/0.2138, allocations: 4 kB / 0.7892 GB, free: 7.047 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003974/0.2142, allocations: 151 kB / 0.7893 GB, free: 6.859 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001979/0.2144, allocations: 0.6768 MB / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.005e-05/0.2145, allocations: 0 / 0.79 GB, free: 6.156 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.628e-05/0.2145, allocations: 11.5 kB / 0.79 GB, free: 6.145 MB / 0.6075 GB Notification: Performance of SimCode: time 2.5e-07/0.2145, allocations: 4 kB / 0.79 GB, free: 6.141 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01595/0.2305, allocations: 1.493 MB / 0.7915 GB, free: 4.719 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.112/7.343, allocations: 8.062 kB / 0.7915 GB, free: 4.711 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Examples_BesselJ0.fmu > Buildings_8_Buildings.Utilities.Math.Examples.BesselJ0.pipe 2>&1)