Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.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.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_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.427/1.427, allocations: 252 MB / 267 MB, free: 10.95 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.001006/0.001006, allocations: 182.2 kB / 326.6 MB, free: 2.203 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.02/2.02, allocations: 205.4 MB / 0.5777 GB, free: 20.49 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.0008891/0.0008892, allocations: 93.7 kB / 0.6823 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003666/0.0003667, allocations: 11.38 kB / 0.7965 GB, free: 135 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.214, allocations: 106.3 MB / 0.9003 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001504/0.2155, allocations: 1.157 MB / 0.9014 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004654/0.216, allocations: 232.4 kB / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.524e-05/0.2161, allocations: 0 / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.393e-05/0.2161, allocations: 0 / 0.9017 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 4.542e-05/0.2162, allocations: 3.938 kB / 0.9017 GB, free: 62.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000347/0.2165, allocations: 47.94 kB / 0.9017 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 5.717e-05/0.2166, allocations: 19.88 kB / 0.9017 GB, free: 62.68 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 7.825e-05/0.2167, allocations: 11.98 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.273e-05/0.2167, allocations: 7.938 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 3.983e-05/0.2168, allocations: 11.98 kB / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.059e-05/0.2168, allocations: 0 / 0.9018 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001571/0.217, allocations: 59.88 kB / 0.9018 GB, free: 62.59 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.038e-05/0.217, allocations: 11.92 kB / 0.9018 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.165e-05/0.217, allocations: 29.7 kB / 0.9019 GB, free: 62.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.0001016/0.2171, allocations: 27.95 kB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/0.2171, allocations: 4 kB / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.512e-06/0.2171, allocations: 0 / 0.9019 GB, free: 62.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.648e-06/0.2171, allocations: 0 / 0.9019 GB, free: 62.51 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003874/0.2175, allocations: 339.4 kB / 0.9022 GB, free: 62.13 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.2176, allocations: 12.03 kB / 0.9022 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.192e-05/0.2176, allocations: 38.5 kB / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.56e-05/0.2177, allocations: 0 / 0.9023 GB, free: 62.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.63e-05/0.2177, allocations: 183.1 kB / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.093e-05/0.2178, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.2178, allocations: 0 / 0.9024 GB, free: 61.85 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001749/0.218, allocations: 57.67 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.163e-06/0.218, allocations: 3.938 kB / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.218, allocations: 0 / 0.9025 GB, free: 61.79 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.218, allocations: 4 kB / 0.9025 GB, free: 61.78 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001931/0.2182, allocations: 43.97 kB / 0.9025 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000268/0.2185, allocations: 248.9 kB / 0.9028 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001274/0.2186, allocations: 38.56 kB / 0.9028 GB, free: 61.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.773e-05/0.2187, allocations: 32.91 kB / 0.9028 GB, free: 61.36 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006083/0.2193, allocations: 457.4 kB / 0.9033 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.174e-05/0.2194, allocations: 38.56 kB / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.223e-06/0.2194, allocations: 0 / 0.9033 GB, free: 60.78 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003533/0.2197, allocations: 97.73 kB / 0.9034 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.393e-05/0.2198, allocations: 51.41 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.209e-05/0.2198, allocations: 105.8 kB / 0.9036 GB, free: 60.5 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-06/0.2198, allocations: 25.7 kB / 0.9036 GB, free: 60.47 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.698e-05/0.2199, allocations: 88.08 kB / 0.9037 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.538e-05/0.2199, allocations: 7.906 kB / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.015e-06/0.2199, allocations: 0 / 0.9037 GB, free: 60.37 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.697e-05/0.22, allocations: 314.8 kB / 0.904 GB, free: 60.05 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.28e-05/0.22, allocations: 24.02 kB / 0.904 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.173e-05/0.2201, allocations: 23.92 kB / 0.904 GB, free: 60.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.911e-05/0.2202, allocations: 24.05 kB / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.2202, allocations: 0 / 0.904 GB, free: 59.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001883/0.2204, allocations: 81.66 kB / 0.9041 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.2204, allocations: 4 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2205, allocations: 0 / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.221e-05/0.2205, allocations: 4.031 kB / 0.9041 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.678e-05/0.2206, allocations: 15.98 kB / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.583e-06/0.2206, allocations: 0 / 0.9041 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.971e-05/0.2206, allocations: 4 kB / 0.9041 GB, free: 59.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.444e-06/0.2206, allocations: 7.938 kB / 0.9042 GB, free: 59.86 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 (2): * Single equations (assignments): 2 * 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 5.722e-05/0.2207, allocations: 109.8 kB / 0.9043 GB, free: 59.75 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.345e-05/0.2207, allocations: 3.906 kB / 0.9043 GB, free: 59.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002282/0.221, allocations: 88.91 kB / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.435e-06/0.221, allocations: 0 / 0.9043 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.19e-06/0.221, allocations: 3.984 kB / 0.9044 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.221, allocations: 0 / 0.9044 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001152/0.2211, allocations: 165.5 kB / 0.9045 GB, free: 59.44 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2211, allocations: 4.031 kB / 0.9045 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.9e-05/0.2212, allocations: 12 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.976e-06/0.2212, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.952e-06/0.2212, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.2212, allocations: 0 / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.2212, allocations: 3.984 kB / 0.9045 GB, free: 59.42 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/0.2214, allocations: 175.4 kB / 0.9047 GB, free: 59.23 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.985e-05/0.2215, allocations: 85.09 kB / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.216e-05/0.2215, allocations: 0 / 0.9048 GB, free: 59.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.646e-05/0.2216, allocations: 4 kB / 0.9048 GB, free: 59.12 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.863e-05/0.2216, allocations: 12.02 kB / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.026e-06/0.2216, allocations: 0 / 0.9048 GB, free: 59.11 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.231e-05/0.2217, allocations: 83.28 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2217, allocations: 3.938 kB / 0.9049 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002341/0.2219, allocations: 12 kB / 0.9049 GB, free: 59.02 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 (2): * Single equations (assignments): 2 * 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.000525/0.2224, allocations: 0.728 MB / 0.9056 GB, free: 58.26 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.2226, allocations: 47.94 kB / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.2227, allocations: 0 / 0.9056 GB, free: 58.21 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.287e-05/0.2227, allocations: 27.97 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002297/0.223, allocations: 8.125 kB / 0.9057 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003809/0.2234, allocations: 134.4 kB / 0.9058 GB, free: 58.01 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.2235, allocations: 0.677 MB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.408e-05/0.2235, allocations: 0 / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.092e-05/0.2236, allocations: 7.438 kB / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of SimCode: time 6.81e-07/0.2236, allocations: 0 / 0.9065 GB, free: 57.3 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01178/0.2354, allocations: 1.278 MB / 0.9077 GB, free: 56.14 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.2356, allocations: 182.4 kB / 0.9079 GB, free: 55.91 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.546/1.781, allocations: 64 / 0.9079 GB, free: 55.91 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)