Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.369/1.369, allocations: 252 MB / 267 MB, free: 10.96 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009203/0.0009204, allocations: 172.8 kB / 326.6 MB, free: 2.207 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.627/1.627, allocations: 205.4 MB / 0.5776 GB, free: 20.55 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007297/0.0007298, allocations: 92.36 kB / 0.6823 GB, free: 13.32 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003412/0.0003413, allocations: 12.03 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2121/0.2124, allocations: 106.3 MB / 0.9003 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.000608/0.2131, allocations: 322.2 kB / 0.9006 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003476/0.2134, allocations: 180.8 kB / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.646e-06/0.2135, allocations: 0 / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.174e-05/0.2135, allocations: 0 / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.851e-06/0.2135, allocations: 0 / 0.9008 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002965/0.2138, allocations: 39.91 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 3.16e-05/0.2138, allocations: 4 kB / 0.9008 GB, free: 63.64 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 4.432e-05/0.2139, allocations: 7.984 kB / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.407e-05/0.2139, allocations: 0 / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.585e-05/0.2139, allocations: 0 / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.236e-06/0.214, allocations: 0 / 0.9008 GB, free: 63.63 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001483/0.2141, allocations: 67.81 kB / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.691e-06/0.2141, allocations: 0 / 0.9009 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.627e-05/0.2141, allocations: 25.7 kB / 0.9009 GB, free: 63.53 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.749e-05/0.2142, allocations: 23.97 kB / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.138e-06/0.2142, allocations: 0 / 0.901 GB, free: 63.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2142, allocations: 4 kB / 0.901 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.328e-06/0.2142, allocations: 4 kB / 0.901 GB, free: 63.5 MB / 0.6042 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.0001889/0.2144, allocations: 319.4 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.589e-05/0.2145, allocations: 8.031 kB / 0.9013 GB, free: 63.13 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.325e-05/0.2145, allocations: 34.56 kB / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.751e-05/0.2145, allocations: 0 / 0.9013 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.9e-05/0.2146, allocations: 167 kB / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.508e-06/0.2146, allocations: 0 / 0.9015 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.895e-06/0.2146, allocations: 4 kB / 0.9015 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.26e-05/0.2147, allocations: 29.7 kB / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.821e-06/0.2147, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.581e-06/0.2147, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.2147, allocations: 0 / 0.9015 GB, free: 62.85 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.69e-05/0.2148, allocations: 7.938 kB / 0.9015 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.01e-05/0.2148, allocations: 149.6 kB / 0.9017 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 2.892e-05/0.2149, allocations: 18.58 kB / 0.9017 GB, free: 62.62 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.303e-05/0.2149, allocations: 12.94 kB / 0.9017 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006065/0.2155, allocations: 457.5 kB / 0.9021 GB, free: 62.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.486e-05/0.2155, allocations: 38.55 kB / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.2155, allocations: 0 / 0.9022 GB, free: 62.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001099/0.2157, allocations: 33.64 kB / 0.9022 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.2157, allocations: 55.53 kB / 0.9022 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.835e-05/0.2157, allocations: 97.8 kB / 0.9023 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.811e-06/0.2157, allocations: 25.7 kB / 0.9024 GB, free: 61.77 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.116e-05/0.2157, allocations: 80.14 kB / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.446e-05/0.2158, allocations: 0 / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.194e-06/0.2158, allocations: 0 / 0.9024 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 3.888e-05/0.2158, allocations: 314.8 kB / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.013e-06/0.2158, allocations: 0 / 0.9027 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.019e-06/0.2158, allocations: 4 kB / 0.9027 GB, free: 61.37 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.472e-05/0.2159, allocations: 7.938 kB / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-06/0.2159, allocations: 0 / 0.9027 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.918e-05/0.2159, allocations: 37.64 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.083e-05/0.2159, allocations: 4 kB / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/0.2159, allocations: 0 / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.216, allocations: 0 / 0.9028 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.769e-05/0.216, allocations: 7.984 kB / 0.9028 GB, free: 61.31 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.216, allocations: 3.938 kB / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.968e-06/0.216, allocations: 96 / 0.9028 GB, free: 61.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.216, allocations: 8 kB / 0.9028 GB, free: 61.3 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.211e-05/0.2161, allocations: 113.8 kB / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.49e-06/0.2161, allocations: 0 / 0.9029 GB, free: 61.18 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.913e-05/0.2162, allocations: 36.83 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.714e-06/0.2162, allocations: 3.938 kB / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.2162, allocations: 0 / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.854e-06/0.2162, allocations: 0 / 0.903 GB, free: 61.13 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.782e-05/0.2162, allocations: 153.7 kB / 0.9031 GB, free: 60.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.2162, allocations: 7.984 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.162e-05/0.2163, allocations: 4 kB / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2163, allocations: 0 / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.468e-06/0.2163, allocations: 0 / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.2163, allocations: 0 / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.2163, allocations: 0 / 0.9031 GB, free: 60.92 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.271e-05/0.2163, allocations: 57.12 kB / 0.9032 GB, free: 60.84 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.572e-05/0.2164, allocations: 85.06 kB / 0.9032 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.803e-05/0.2164, allocations: 4.031 kB / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.376e-06/0.2164, allocations: 0 / 0.9033 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.522e-05/0.2164, allocations: 4 kB / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.833e-06/0.2164, allocations: 0 / 0.9033 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.413e-05/0.2165, allocations: 75.28 kB / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of sort global known variables: time 8.91e-07/0.2165, allocations: 0 / 0.9033 GB, free: 60.66 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001801/0.2167, allocations: 19.94 kB / 0.9033 GB, free: 60.64 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002801/0.2169, allocations: 0.6201 MB / 0.904 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 5.034e-05/0.217, allocations: 4 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.217, allocations: 0 / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 6.672e-06/0.217, allocations: 12.03 kB / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001171/0.2171, allocations: 0 / 0.904 GB, free: 59.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002284/0.2174, allocations: 112.3 kB / 0.9041 GB, free: 59.82 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.873e-05/0.2175, allocations: 0.6692 MB / 0.9047 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.042e-05/0.2175, allocations: 4 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.131e-05/0.2175, allocations: 7.438 kB / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of SimCode: time 2.3e-07/0.2175, allocations: 0 / 0.9047 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01012/0.2276, allocations: 0.9684 MB / 0.9057 GB, free: 58.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001258/0.2278, allocations: 203.1 kB / 0.9059 GB, free: 58.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/1.734, allocations: 0 / 0.9059 GB, free: 58.05 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)