Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_8_0_x_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.1-maint.8.0.x/package.mo): time 1.407/1.407, allocations: 288.4 MB / 303.6 MB, free: 8.133 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.0008426/0.0008426, allocations: 188.5 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.077/1.077, allocations: 205.4 MB / 0.631 GB, free: 9.898 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.000646/0.0006461, allocations: 97.38 kB / 0.7444 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003142/0.0003142, allocations: 15.5 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1357/0.1361, allocations: 115.3 MB / 0.9802 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0004836/0.1366, allocations: 319.8 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0002805/0.1369, allocations: 175.6 kB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.745e-06/0.1369, allocations: 0 / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.004e-05/0.1369, allocations: 0 / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.551e-06/0.1369, allocations: 4 kB / 0.9807 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002431/0.1372, allocations: 39.91 kB / 0.9807 GB, free: 26.71 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 2.688e-05/0.1372, allocations: 3.938 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.492e-05/0.1373, allocations: 4 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.204e-05/0.1373, allocations: 3.984 kB / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 1.728e-05/0.1373, allocations: 0 / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.2e-06/0.1373, allocations: 0 / 0.9807 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001221/0.1374, allocations: 59.89 kB / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 5.65e-06/0.1374, allocations: 0 / 0.9808 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 1.771e-05/0.1375, allocations: 33.62 kB / 0.9808 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.805e-05/0.1375, allocations: 23.95 kB / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.145e-06/0.1375, allocations: 0 / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.253e-06/0.1375, allocations: 0 / 0.9808 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.965e-06/0.1376, allocations: 0 / 0.9808 GB, free: 26.57 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.000156/0.1377, allocations: 315.6 kB / 0.9811 GB, free: 26.21 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.168e-05/0.1378, allocations: 12.03 kB / 0.9811 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 1.843e-05/0.1378, allocations: 30.75 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.479e-05/0.1378, allocations: 0.9375 kB / 0.9812 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 3.924e-05/0.1378, allocations: 164.4 kB / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-06/0.1379, allocations: 4.375 kB / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.094e-06/0.1379, allocations: 384 / 0.9813 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.399e-05/0.1379, allocations: 34.2 kB / 0.9814 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.421e-06/0.1379, allocations: 3.938 kB / 0.9814 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.701e-06/0.138, allocations: 4 kB / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.336e-06/0.138, allocations: 0 / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.327e-05/0.138, allocations: 0 / 0.9814 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 7.2e-05/0.1381, allocations: 149.7 kB / 0.9815 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 2.429e-05/0.1381, allocations: 22.56 kB / 0.9815 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.166e-05/0.1381, allocations: 8.953 kB / 0.9816 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004922/0.1386, allocations: 449.4 kB / 0.982 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.376e-05/0.1386, allocations: 42.55 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 1.082e-06/0.1386, allocations: 4 kB / 0.982 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 8.772e-05/0.1387, allocations: 37.62 kB / 0.9821 GB, free: 25.05 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.563e-05/0.1387, allocations: 51.41 kB / 0.9821 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.14e-05/0.1388, allocations: 89.86 kB / 0.9822 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 4.94e-06/0.1388, allocations: 25.7 kB / 0.9822 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 7.063e-06/0.1388, allocations: 84.08 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.1388, allocations: 3.906 kB / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.1388, allocations: 0 / 0.9823 GB, free: 24.77 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.124e-05/0.1388, allocations: 323 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.662e-06/0.1389, allocations: 0 / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.777e-06/0.1389, allocations: 3.938 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.795e-05/0.1389, allocations: 8.859 kB / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.1389, allocations: 0 / 0.9826 GB, free: 24.43 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.394e-05/0.1389, allocations: 33.69 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.158e-06/0.1389, allocations: 4 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.587e-06/0.139, allocations: 3.938 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.786e-06/0.139, allocations: 4.094 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.039e-05/0.139, allocations: 4 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.347e-06/0.139, allocations: 0 / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-06/0.139, allocations: 0 / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.607e-06/0.139, allocations: 3.938 kB / 0.9827 GB, free: 24.37 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 3.286e-05/0.1391, allocations: 119.5 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.34e-06/0.1391, allocations: 4 kB / 0.9828 GB, free: 24.24 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.132e-05/0.1391, allocations: 41.03 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1391, allocations: 0 / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.765e-06/0.1391, allocations: 4.031 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.713e-06/0.1392, allocations: 0 / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.662e-05/0.1392, allocations: 145.7 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.1392, allocations: 4 kB / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.696e-06/0.1392, allocations: 0 / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.232e-06/0.1392, allocations: 0 / 0.983 GB, free: 24 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.458e-06/0.1392, allocations: 3.938 kB / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.01e-07/0.1392, allocations: 0 / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1392, allocations: 0 / 0.983 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.71e-05/0.1393, allocations: 65.08 kB / 0.983 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.077e-05/0.1393, allocations: 85.03 kB / 0.9831 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.274e-06/0.1393, allocations: 3.938 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.551e-06/0.1393, allocations: 0 / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.005e-06/0.1393, allocations: 4 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.164e-06/0.1393, allocations: 4 kB / 0.9831 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 8.756e-06/0.1393, allocations: 75.28 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1394, allocations: 3.938 kB / 0.9832 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001579/0.1395, allocations: 16.03 kB / 0.9832 GB, free: 23.7 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.0002075/0.1397, allocations: 0.6124 MB / 0.9838 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 4.298e-05/0.1398, allocations: 12.02 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.1398, allocations: 4 kB / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.1398, allocations: 0 / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001001/0.1399, allocations: 0 / 0.9838 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001904/0.1401, allocations: 104.4 kB / 0.9839 GB, free: 22.91 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.434e-05/0.1402, allocations: 0.677 MB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.536e-06/0.1402, allocations: 0 / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.636e-06/0.1402, allocations: 7.438 kB / 0.9846 GB, free: 22.2 MB / 0.6198 GB Notification: Performance of SimCode: time 2.5e-07/0.1402, allocations: 4.125 kB / 0.9846 GB, free: 22.19 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8181/0.9583, allocations: 0.9541 MB / 0.9855 GB, free: 21.38 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002547/0.9586, allocations: 198.3 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.944/3.903, allocations: 1.828 kB / 0.9857 GB, free: 21.14 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)