Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.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.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_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.001367/0.001367, 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.001415/0.001415, allocations: 189.5 kB / 16.62 MB, free: 6.582 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.351/1.351, allocations: 205.1 MB / 222.5 MB, free: 4.535 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.768/1.768, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.001536/0.001536, allocations: 72.12 kB / 0.6718 GB, free: 26.14 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2066/0.2081, allocations: 114.5 MB / 0.7836 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.001944/0.2101, allocations: 0.582 MB / 0.7842 GB, free: 12.68 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0004781/0.2106, allocations: 203.3 kB / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.296e-05/0.2106, allocations: 0 / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.453e-05/0.2106, allocations: 0 / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.61e-06/0.2107, allocations: 0 / 0.7844 GB, free: 12.48 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004091/0.2111, allocations: 51.81 kB / 0.7844 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.286e-05/0.2111, allocations: 7.938 kB / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.399e-05/0.2112, allocations: 0 / 0.7845 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.455e-05/0.2112, allocations: 4 kB / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.867e-05/0.2112, allocations: 0 / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 8.045e-06/0.2112, allocations: 0 / 0.7845 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001769/0.2114, allocations: 63.86 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 7.154e-06/0.2114, allocations: 4 kB / 0.7845 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.737e-05/0.2115, allocations: 4 kB / 0.7845 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001141/0.2116, allocations: 35.94 kB / 0.7846 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.2116, allocations: 0 / 0.7846 GB, free: 12.32 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2116, allocations: 4 kB / 0.7846 GB, free: 12.31 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2116, allocations: 0 / 0.7846 GB, free: 12.31 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.0002968/0.2119, allocations: 315.6 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.995e-05/0.212, allocations: 8.031 kB / 0.7849 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.357e-05/0.212, allocations: 38.75 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.134e-05/0.212, allocations: 4.875 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.549e-05/0.2121, allocations: 164.4 kB / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.028e-05/0.2121, allocations: 384 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.2121, allocations: 384 / 0.7851 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.593e-05/0.2122, allocations: 26.27 kB / 0.7851 GB, free: 11.66 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.236e-06/0.2123, allocations: 11.88 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.084e-06/0.2123, allocations: 0 / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.879e-06/0.2123, allocations: 0 / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.182e-05/0.2123, allocations: 3.984 kB / 0.7851 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001396/0.2124, allocations: 145.7 kB / 0.7853 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.301e-05/0.2125, allocations: 26.55 kB / 0.7853 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.714e-05/0.2125, allocations: 4.859 kB / 0.7853 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007658/0.2133, allocations: 457.5 kB / 0.7857 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.428e-05/0.2133, allocations: 42.56 kB / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.162e-06/0.2133, allocations: 0 / 0.7858 GB, free: 10.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001231/0.2135, allocations: 33.64 kB / 0.7858 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.2135, allocations: 59.33 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.301e-05/0.2135, allocations: 89.86 kB / 0.7859 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.051e-05/0.2136, allocations: 29.64 kB / 0.786 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 2.584e-05/0.2136, allocations: 80.14 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.838e-05/0.2136, allocations: 4.031 kB / 0.786 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.2137, allocations: 17.72 kB / 0.7861 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.771e-05/0.2138, allocations: 314.8 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.797e-06/0.2138, allocations: 0 / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.314e-06/0.2138, allocations: 4 kB / 0.7864 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.688e-05/0.2138, allocations: 4.859 kB / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.2138, allocations: 0 / 0.7864 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.586e-05/0.2139, allocations: 37.69 kB / 0.7864 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.624e-05/0.2139, allocations: 8.094 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2139, allocations: 7.875 kB / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.2139, allocations: 0 / 0.7864 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-05/0.214, allocations: 8 kB / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.19e-06/0.214, allocations: 0 / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-06/0.214, allocations: 0 / 0.7864 GB, free: 10.08 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.629e-06/0.214, allocations: 0 / 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 5.943e-05/0.2141, allocations: 109.8 kB / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.442e-06/0.2141, allocations: 0 / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.956e-05/0.2142, allocations: 49.03 kB / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.2142, allocations: 0 / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.2142, allocations: 0 / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.118e-06/0.2142, allocations: 0 / 0.7866 GB, free: 9.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.993e-05/0.2143, allocations: 145.6 kB / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2143, allocations: 0 / 0.7867 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.716e-05/0.2143, allocations: 7.984 kB / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.867e-06/0.2143, allocations: 0 / 0.7867 GB, free: 9.703 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.662e-06/0.2143, allocations: 7.875 kB / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.2144, allocations: 0 / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.2144, allocations: 32 / 0.7867 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.42e-05/0.2144, allocations: 61.14 kB / 0.7868 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.248e-05/0.2145, allocations: 85.03 kB / 0.7869 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.132e-05/0.2145, allocations: 3.938 kB / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.763e-06/0.2145, allocations: 0 / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.334e-05/0.2145, allocations: 0 / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.195e-06/0.2145, allocations: 0 / 0.7869 GB, free: 9.512 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.792e-05/0.2146, allocations: 79.31 kB / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2146, allocations: 0 / 0.787 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000197/0.2148, allocations: 20 kB / 0.787 GB, free: 9.414 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.0004004/0.2152, allocations: 0.6153 MB / 0.7876 GB, free: 8.77 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 7.282e-05/0.2153, allocations: 11.92 kB / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.2153, allocations: 0 / 0.7876 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.295e-06/0.2153, allocations: 4 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.0001344/0.2154, 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.0003103/0.2157, allocations: 118.5 kB / 0.7877 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002165/0.216, allocations: 0.6768 MB / 0.7884 GB, free: 7.895 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 1.045e-05/0.216, allocations: 4.125 kB / 0.7884 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.216, allocations: 7.438 kB / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of SimCode: time 5.11e-07/0.216, allocations: 0 / 0.7884 GB, free: 7.883 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01582/0.2318, allocations: 1.139 MB / 0.7895 GB, free: 6.82 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.788/7.02, allocations: 6.875 kB / 0.7895 GB, free: 6.816 MB / 0.6075 GB (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)