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.001302/0.001302, 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.001292/0.001292, allocations: 187.9 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.418/1.418, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.691/1.691, allocations: 292.3 MB / 0.549 GB, free: 12.71 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.00172/0.00172, allocations: 70.88 kB / 0.6718 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2161/0.2179, allocations: 114.5 MB / 0.7836 GB, free: 13.24 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.002368/0.2203, allocations: 1.434 MB / 0.785 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000475/0.2207, allocations: 256 kB / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.556e-05/0.2208, allocations: 0 / 0.7853 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.281e-05/0.2208, allocations: 4 kB / 0.7853 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.75e-05/0.2209, allocations: 7.922 kB / 0.7853 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002973/0.2212, allocations: 51.83 kB / 0.7853 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.417e-05/0.2212, allocations: 23.92 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.419e-05/0.2213, allocations: 7.984 kB / 0.7854 GB, free: 11.44 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.291e-05/0.2214, allocations: 7.984 kB / 0.7854 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 3.376e-05/0.2214, allocations: 15.92 kB / 0.7854 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 7.854e-06/0.2214, allocations: 4 kB / 0.7854 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001235/0.2215, allocations: 59.95 kB / 0.7854 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.097e-06/0.2215, allocations: 3.984 kB / 0.7854 GB, free: 11.35 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 1.978e-05/0.2216, allocations: 11.94 kB / 0.7855 GB, free: 11.34 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001176/0.2217, allocations: 55.8 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.57e-06/0.2217, allocations: 4 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.152e-06/0.2217, allocations: 0 / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.466e-06/0.2217, allocations: 0 / 0.7855 GB, free: 11.28 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.0003763/0.2221, allocations: 351.7 kB / 0.7858 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.2221, allocations: 12.03 kB / 0.7859 GB, free: 10.88 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.542e-05/0.2222, allocations: 30.75 kB / 0.7859 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.317e-05/0.2222, allocations: 4.938 kB / 0.7859 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.536e-05/0.2223, allocations: 160.4 kB / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.843e-06/0.2223, allocations: 384 / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-06/0.2223, allocations: 384 / 0.786 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001553/0.2225, allocations: 50.23 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.825e-06/0.2225, allocations: 3.938 kB / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.033e-06/0.2225, allocations: 0 / 0.7861 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.2225, allocations: 12 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001567/0.2227, allocations: 35.89 kB / 0.7861 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002649/0.223, allocations: 244.9 kB / 0.7864 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001163/0.2231, allocations: 42.48 kB / 0.7864 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.381e-05/0.2232, allocations: 32.89 kB / 0.7864 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000636/0.2238, allocations: 453.5 kB / 0.7869 GB, free: 9.621 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.213e-05/0.2239, allocations: 34.56 kB / 0.7869 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 2.354e-06/0.2239, allocations: 4 kB / 0.7869 GB, free: 9.574 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003156/0.2242, allocations: 85.52 kB / 0.787 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.568e-05/0.2242, allocations: 55.34 kB / 0.7871 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.512e-05/0.2243, allocations: 101.9 kB / 0.7871 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.2243, allocations: 25.7 kB / 0.7872 GB, free: 9.277 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.545e-05/0.2244, allocations: 84.14 kB / 0.7873 GB, free: 9.191 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.9e-05/0.2244, allocations: 12 kB / 0.7873 GB, free: 9.18 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.2244, allocations: 17.72 kB / 0.7873 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.005e-05/0.2245, allocations: 310.8 kB / 0.7876 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.464e-05/0.2246, allocations: 15.98 kB / 0.7876 GB, free: 8.828 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.641e-05/0.2247, allocations: 15.98 kB / 0.7876 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00014/0.2248, allocations: 48.81 kB / 0.7877 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.327e-06/0.2248, allocations: 3.938 kB / 0.7877 GB, free: 8.758 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001724/0.225, allocations: 65.66 kB / 0.7877 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.225, allocations: 4 kB / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.225, allocations: 0 / 0.7877 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.48e-05/0.225, allocations: 4 kB / 0.7877 GB, free: 8.68 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.712e-05/0.2251, allocations: 4 kB / 0.7877 GB, free: 8.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.2251, allocations: 3.984 kB / 0.7877 GB, free: 8.672 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.152e-05/0.2252, allocations: 8.031 kB / 0.7877 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.16e-06/0.2252, allocations: 0 / 0.7877 GB, free: 8.664 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 6.814e-05/0.2253, allocations: 118.4 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.428e-05/0.2253, allocations: 3.906 kB / 0.7879 GB, free: 8.535 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002148/0.2255, allocations: 80.7 kB / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.803e-06/0.2255, allocations: 0 / 0.7879 GB, free: 8.449 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.2255, allocations: 4.031 kB / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.2255, allocations: 0 / 0.7879 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.2257, allocations: 157.6 kB / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.61e-07/0.2257, allocations: 0 / 0.7881 GB, free: 8.242 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.467e-05/0.2258, allocations: 11.98 kB / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-06/0.2258, allocations: 0 / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.592e-06/0.2258, allocations: 0 / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.2258, allocations: 0 / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.2258, allocations: 0 / 0.7881 GB, free: 8.23 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002212/0.226, allocations: 171.4 kB / 0.7883 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.2261, allocations: 77.11 kB / 0.7883 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.317e-05/0.2261, allocations: 4 kB / 0.7883 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.113e-05/0.2262, allocations: 7.984 kB / 0.7884 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.417e-05/0.2262, allocations: 7.938 kB / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.005e-06/0.2262, allocations: 0 / 0.7884 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.562e-05/0.2262, allocations: 91.3 kB / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2262, allocations: 0 / 0.7884 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002283/0.2265, allocations: 16 kB / 0.7885 GB, free: 7.828 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.0005509/0.227, allocations: 0.7163 MB / 0.7892 GB, free: 7.082 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000198/0.2272, allocations: 39.91 kB / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.552e-06/0.2273, allocations: 0 / 0.7892 GB, free: 7.043 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 7.921e-05/0.2273, allocations: 19.98 kB / 0.7892 GB, free: 7.023 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002209/0.2276, allocations: 9.047 kB / 0.7892 GB, free: 7.016 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.228, allocations: 143 kB / 0.7894 GB, free: 6.836 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001956/0.2282, allocations: 0.6768 MB / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.2282, allocations: 0 / 0.79 GB, free: 6.133 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.918e-05/0.2282, allocations: 11.44 kB / 0.79 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of SimCode: time 2.7e-07/0.2283, allocations: 0 / 0.79 GB, free: 6.121 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01542/0.2437, allocations: 1.509 MB / 0.7915 GB, free: 4.68 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.135/7.378, allocations: 6.406 kB / 0.7915 GB, free: 4.68 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)