Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.053/3.053, allocations: 287.5 MB / 302.4 MB, free: 8.293 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001353/0.001352, allocations: 176.4 kB / 371 MB, free: 10.85 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.164/2.164, allocations: 205.4 MB / 0.6297 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009507/0.0009506, allocations: 102.2 kB / 0.743 GB, free: 6.57 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005255/0.0005258, allocations: 18.3 kB / 0.8659 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2337, allocations: 115.3 MB / 0.9785 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0007718/0.2345, allocations: 319.6 kB / 0.9788 GB, free: 27.91 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004308/0.2349, allocations: 167.7 kB / 0.9789 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.064e-05/0.235, allocations: 0 / 0.9789 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.438e-05/0.235, allocations: 0 / 0.9789 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.963e-06/0.235, allocations: 0 / 0.9789 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003348/0.2353, allocations: 39.89 kB / 0.979 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.38e-05/0.2354, allocations: 4 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 4.32e-05/0.2354, allocations: 0 / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.334e-05/0.2355, allocations: 0 / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.418e-05/0.2355, allocations: 4 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.163e-06/0.2355, allocations: 3.938 kB / 0.979 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001876/0.2357, allocations: 63.88 kB / 0.979 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.081e-06/0.2357, allocations: 0 / 0.979 GB, free: 27.63 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.014e-05/0.2358, allocations: 25.7 kB / 0.9791 GB, free: 27.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.4e-05/0.2359, allocations: 19.97 kB / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.2359, allocations: 0 / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.814e-06/0.2359, allocations: 4 kB / 0.9791 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.2359, allocations: 0 / 0.9791 GB, free: 27.58 MB / 0.6198 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.0002244/0.2361, allocations: 319.4 kB / 0.9794 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.2362, allocations: 16.02 kB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.112e-05/0.2362, allocations: 34.5 kB / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.125e-05/0.2363, allocations: 0 / 0.9794 GB, free: 27.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.501e-05/0.2363, allocations: 167 kB / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.148e-05/0.2364, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.444e-06/0.2364, allocations: 0 / 0.9796 GB, free: 26.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.542e-05/0.2365, allocations: 33.7 kB / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.005e-06/0.2365, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.2365, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.2365, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.072e-05/0.2365, allocations: 0 / 0.9796 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.2367, allocations: 149.6 kB / 0.9798 GB, free: 26.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.675e-05/0.2367, allocations: 22.55 kB / 0.9798 GB, free: 26.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.664e-05/0.2367, allocations: 8.844 kB / 0.9798 GB, free: 26.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008258/0.2376, allocations: 457.5 kB / 0.9802 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.2376, allocations: 34.5 kB / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.553e-06/0.2376, allocations: 0 / 0.9803 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001666/0.2378, allocations: 37.62 kB / 0.9803 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.548e-05/0.2378, allocations: 59.53 kB / 0.9804 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.262e-05/0.2379, allocations: 89.86 kB / 0.9805 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.566e-06/0.2379, allocations: 25.7 kB / 0.9805 GB, free: 25.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.418e-05/0.2379, allocations: 80.14 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.95e-05/0.238, allocations: 3.906 kB / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.238, allocations: 0 / 0.9806 GB, free: 25.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.34e-05/0.238, allocations: 314.8 kB / 0.9809 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.009e-05/0.2381, allocations: 3.938 kB / 0.9809 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.168e-06/0.2381, allocations: 8 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.96e-05/0.2381, allocations: 3.953 kB / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.2381, allocations: 0 / 0.9809 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.586e-05/0.2382, allocations: 33.69 kB / 0.9809 GB, free: 25.4 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.2382, allocations: 8 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2382, allocations: 0 / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.344e-05/0.2382, allocations: 0 / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.417e-05/0.2383, allocations: 3.938 kB / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.51e-06/0.2383, allocations: 0 / 0.9809 GB, free: 25.39 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.259e-05/0.2383, allocations: 4 kB / 0.9809 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.262e-06/0.2383, allocations: 4.094 kB / 0.9809 GB, free: 25.38 MB / 0.6198 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 5.406e-05/0.2384, allocations: 109.8 kB / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.844e-06/0.2384, allocations: 0 / 0.981 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.194e-05/0.2385, allocations: 41.09 kB / 0.9811 GB, free: 25.22 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.2385, allocations: 7.984 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.391e-06/0.2385, allocations: 4 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.2386, allocations: 0 / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.76e-05/0.2386, allocations: 141.7 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.2386, allocations: 3.984 kB / 0.9812 GB, free: 25.02 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.681e-05/0.2387, allocations: 7.984 kB / 0.9812 GB, free: 25.01 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.2387, allocations: 4 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.611e-06/0.2387, allocations: 0 / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.445e-06/0.2387, allocations: 0 / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.343e-06/0.2387, allocations: 3.938 kB / 0.9812 GB, free: 25 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.101e-05/0.2388, allocations: 53.14 kB / 0.9813 GB, free: 24.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.189e-05/0.2388, allocations: 85 kB / 0.9814 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.2388, allocations: 12.02 kB / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.548e-06/0.2389, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.099e-05/0.2389, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.846e-06/0.2389, allocations: 0 / 0.9814 GB, free: 24.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.555e-05/0.2389, allocations: 75.28 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.7e-07/0.2389, allocations: 3.938 kB / 0.9815 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002435/0.2392, allocations: 16 kB / 0.9815 GB, free: 24.72 MB / 0.6198 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.0003794/0.2396, allocations: 0.6163 MB / 0.9821 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 6.968e-05/0.2396, allocations: 11.94 kB / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.2397, allocations: 0 / 0.9821 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.078e-05/0.2397, allocations: 8.078 kB / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001534/0.2398, allocations: 3.609 kB / 0.9821 GB, free: 24.06 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002983/0.2401, allocations: 108.4 kB / 0.9822 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000125/0.2403, allocations: 0.6731 MB / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.61e-05/0.2403, allocations: 0 / 0.9829 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.548e-05/0.2403, allocations: 11.38 kB / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of SimCode: time 7.71e-07/0.2403, allocations: 0 / 0.9829 GB, free: 23.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01766/0.258, allocations: 0.9627 MB / 0.9838 GB, free: 22.37 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002062/0.2583, allocations: 192.6 kB / 0.984 GB, free: 22.12 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.399/2.657, allocations: 0 / 0.984 GB, free: 22.12 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)