Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ1,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.616/2.616, allocations: 287.3 MB / 302.3 MB, free: 8.316 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.001497/0.001497, allocations: 184 kB / 370.8 MB, free: 10.87 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.176/2.176, allocations: 205.4 MB / 0.6295 GB, free: 10.62 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.00121/0.00121, allocations: 92.3 kB / 0.7428 GB, free: 6.637 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006677/0.0006678, allocations: 17.81 kB / 0.8657 GB, free: 140.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2368/0.2375, allocations: 115.3 MB / 0.9783 GB, free: 28.31 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ1): time 0.0007544/0.2383, allocations: 325.7 kB / 0.9786 GB, free: 27.98 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.000452/0.2388, allocations: 181.3 kB / 0.9788 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.939e-06/0.2389, allocations: 0 / 0.9788 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.105e-05/0.2389, allocations: 0 / 0.9788 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.11e-06/0.2389, allocations: 0 / 0.9788 GB, free: 27.81 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003403/0.2392, allocations: 39.84 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.517e-05/0.2393, allocations: 4 kB / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.919e-05/0.2393, allocations: 0 / 0.9788 GB, free: 27.77 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.472e-05/0.2394, allocations: 3.984 kB / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.319e-05/0.2394, allocations: 4 kB / 0.9788 GB, free: 27.76 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 7.935e-06/0.2394, allocations: 4 kB / 0.9788 GB, free: 27.75 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001916/0.2396, allocations: 63.88 kB / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 6.523e-06/0.2396, allocations: 0 / 0.9789 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.2397, allocations: 25.7 kB / 0.9789 GB, free: 27.66 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.014e-05/0.2398, allocations: 23.95 kB / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.2398, allocations: 0 / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2398, allocations: 0 / 0.9789 GB, free: 27.64 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.96e-06/0.2398, allocations: 0 / 0.9789 GB, free: 27.64 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.0002458/0.2401, allocations: 321.5 kB / 0.9792 GB, free: 27.28 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.49e-05/0.2401, allocations: 16.02 kB / 0.9792 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.78e-05/0.2401, allocations: 30.56 kB / 0.9793 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.088e-05/0.2402, allocations: 4 kB / 0.9793 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.163e-05/0.2403, allocations: 163 kB / 0.9794 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2403, allocations: 0 / 0.9794 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.093e-05/0.2403, allocations: 0 / 0.9794 GB, free: 27.02 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.299e-05/0.2404, allocations: 33.69 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.949e-06/0.2404, allocations: 3.938 kB / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.495e-06/0.2404, allocations: 0 / 0.9795 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.2404, allocations: 4 kB / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.051e-05/0.2405, allocations: 0 / 0.9795 GB, free: 26.97 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001165/0.2406, allocations: 153.6 kB / 0.9796 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.581e-05/0.2407, allocations: 18.58 kB / 0.9796 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009411/0.2416, allocations: 461.5 kB / 0.9801 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.527e-05/0.2416, allocations: 34.56 kB / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.673e-06/0.2417, allocations: 0 / 0.9801 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.000153/0.2418, allocations: 41.62 kB / 0.9802 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.785e-05/0.2419, allocations: 51.41 kB / 0.9802 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.283e-05/0.2419, allocations: 93.8 kB / 0.9803 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.115e-05/0.2419, allocations: 25.7 kB / 0.9803 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 1.758e-05/0.2419, allocations: 84.27 kB / 0.9804 GB, free: 25.83 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.329e-05/0.242, allocations: 11.84 kB / 0.9804 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.405e-06/0.242, allocations: 0 / 0.9804 GB, free: 25.82 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.134e-05/0.2421, allocations: 310.8 kB / 0.9807 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.047e-05/0.2421, allocations: 0 / 0.9807 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.324e-06/0.2421, allocations: 0 / 0.9807 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.058e-05/0.2421, allocations: 4 kB / 0.9807 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.2421, allocations: 3.953 kB / 0.9807 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.028e-05/0.2422, allocations: 45.69 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.639e-05/0.2422, allocations: 4 kB / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2423, allocations: 0 / 0.9808 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.468e-05/0.2423, allocations: 4 kB / 0.9808 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.716e-05/0.2423, allocations: 0 / 0.9808 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2423, allocations: 0 / 0.9808 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.352e-05/0.2424, allocations: 0 / 0.9808 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2424, allocations: 0 / 0.9808 GB, free: 25.44 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.582e-05/0.2424, allocations: 109.8 kB / 0.9809 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.488e-06/0.2425, allocations: 3.984 kB / 0.9809 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.495e-05/0.2426, allocations: 49.03 kB / 0.9809 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.587e-06/0.2426, allocations: 0 / 0.9809 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.2426, allocations: 0 / 0.9809 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2426, allocations: 0 / 0.9809 GB, free: 25.27 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.371e-05/0.2427, allocations: 141.7 kB / 0.9811 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.543e-06/0.2427, allocations: 4 kB / 0.9811 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.871e-05/0.2427, allocations: 7.938 kB / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.605e-06/0.2427, allocations: 0 / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.113e-06/0.2428, allocations: 0 / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.2428, allocations: 0 / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.2428, allocations: 4.031 kB / 0.9811 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.48e-05/0.2428, allocations: 61.14 kB / 0.9811 GB, free: 24.99 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.288e-05/0.2429, allocations: 81.05 kB / 0.9812 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.27e-05/0.2429, allocations: 7.938 kB / 0.9812 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.023e-05/0.2429, allocations: 0 / 0.9812 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.862e-05/0.2429, allocations: 4 kB / 0.9812 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.946e-06/0.243, allocations: 3.938 kB / 0.9812 GB, free: 24.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 1.81e-05/0.243, allocations: 83.25 kB / 0.9813 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.21e-07/0.243, allocations: 0 / 0.9813 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002699/0.2433, allocations: 12 kB / 0.9813 GB, free: 24.78 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.0004003/0.2437, allocations: 0.6047 MB / 0.9819 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 7.086e-05/0.2438, allocations: 4 kB / 0.9819 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2438, allocations: 0 / 0.9819 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.319e-05/0.2438, allocations: 15.86 kB / 0.9819 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001124/0.2439, allocations: 3.953 kB / 0.9819 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.2442, allocations: 104.5 kB / 0.982 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.2444, allocations: 0.6809 MB / 0.9827 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 1.572e-05/0.2444, allocations: 0 / 0.9827 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.635e-05/0.2444, allocations: 7.438 kB / 0.9827 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of SimCode: time 6.72e-07/0.2444, allocations: 0 / 0.9827 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02189/0.2663, allocations: 0.9631 MB / 0.9836 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003117/0.2667, allocations: 180.8 kB / 0.9838 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.509/2.775, allocations: 0 / 0.9838 GB, free: 22.2 MB / 0.6198 GB (rm -f Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; mkfifo Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe >> ../files/Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Utilities_Math_Functions_Examples_BesselJ1.fmu > Buildings_8.0.0_Buildings.Utilities.Math.Functions.Examples.BesselJ1.pipe 2>&1)