Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.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.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Examples.BesselJ1,fileNamePrefix="Buildings_maint_8_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 8.0.1-maint.8.0.x/package.mo): time 1.644/1.644, allocations: 288.4 MB / 303.3 MB, free: 8.145 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.001111/0.001111, allocations: 184.5 kB / 372 MB, free: 10.24 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.535/1.535, allocations: 205.4 MB / 0.6307 GB, free: 9.969 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.0007495/0.0007495, allocations: 82.38 kB / 0.744 GB, free: 5.898 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004205/0.0004206, allocations: 12.41 kB / 0.867 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2063, allocations: 115.3 MB / 0.9796 GB, free: 27.55 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Examples.BesselJ1): time 0.001618/0.208, allocations: 1.137 MB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0004918/0.2085, allocations: 248.3 kB / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.9e-05/0.2085, allocations: 0 / 0.981 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.584e-05/0.2086, allocations: 7.984 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 5.264e-05/0.2086, allocations: 3.938 kB / 0.981 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004217/0.209, allocations: 39.91 kB / 0.981 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.75e-05/0.2091, allocations: 15.98 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.91e-05/0.2092, allocations: 4 kB / 0.9811 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 4.886e-05/0.2093, allocations: 11.92 kB / 0.9811 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.279e-05/0.2093, allocations: 11.98 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.117e-06/0.2093, allocations: 4 kB / 0.9811 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00015/0.2095, allocations: 59.88 kB / 0.9811 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.768e-06/0.2095, allocations: 11.94 kB / 0.9812 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.021e-05/0.2095, allocations: 25.7 kB / 0.9812 GB, free: 25.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.2097, allocations: 35.92 kB / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.422e-06/0.2097, allocations: 0 / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2097, allocations: 0 / 0.9812 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.691e-06/0.2097, allocations: 0 / 0.9812 GB, free: 25.91 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.000425/0.2101, allocations: 355.5 kB / 0.9815 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.791e-05/0.2102, allocations: 12.02 kB / 0.9816 GB, free: 25.51 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.682e-05/0.2102, allocations: 30.56 kB / 0.9816 GB, free: 25.47 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.042e-05/0.2102, allocations: 8 kB / 0.9816 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001055/0.2104, allocations: 163 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.2104, allocations: 0 / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.477e-05/0.2104, allocations: 4 kB / 0.9818 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001841/0.2106, allocations: 61.61 kB / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.498e-06/0.2106, allocations: 0 / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/0.2106, allocations: 0 / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.471e-06/0.2106, allocations: 0 / 0.9818 GB, free: 25.19 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001668/0.2108, allocations: 47.89 kB / 0.9819 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003026/0.2111, allocations: 248.9 kB / 0.9821 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.2112, allocations: 42.55 kB / 0.9821 GB, free: 24.8 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.655e-05/0.2113, allocations: 36.84 kB / 0.9822 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006238/0.212, allocations: 457.5 kB / 0.9826 GB, free: 24.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.925e-05/0.212, allocations: 30.56 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.212, allocations: 4 kB / 0.9826 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003493/0.2124, allocations: 97.55 kB / 0.9827 GB, free: 24.08 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.261e-05/0.2124, allocations: 55.53 kB / 0.9828 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.368e-05/0.2125, allocations: 101.9 kB / 0.9829 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.2125, allocations: 25.7 kB / 0.9829 GB, free: 23.87 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.23e-05/0.2125, allocations: 84.12 kB / 0.983 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.434e-05/0.2125, allocations: 3.906 kB / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.537e-06/0.2125, allocations: 0 / 0.983 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.6e-05/0.2126, allocations: 322.7 kB / 0.9833 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.265e-05/0.2127, allocations: 23.98 kB / 0.9833 GB, free: 23.43 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.386e-05/0.2128, allocations: 23.98 kB / 0.9833 GB, free: 23.41 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.808e-05/0.2129, allocations: 19.97 kB / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.2129, allocations: 0 / 0.9834 GB, free: 23.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001943/0.2131, allocations: 73.73 kB / 0.9834 GB, free: 23.31 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.2131, allocations: 8 kB / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.2131, allocations: 0 / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.2131, allocations: 0 / 0.9834 GB, free: 23.3 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.697e-05/0.2132, allocations: 20.02 kB / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.522e-06/0.2132, allocations: 0 / 0.9835 GB, free: 23.29 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.765e-05/0.2133, allocations: 11.98 kB / 0.9835 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.28e-06/0.2133, allocations: 0 / 0.9835 GB, free: 23.27 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 (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.832e-05/0.2134, allocations: 113.7 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.301e-05/0.2134, allocations: 3.938 kB / 0.9836 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002276/0.2136, allocations: 84.78 kB / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.365e-06/0.2136, allocations: 0 / 0.9837 GB, free: 23.06 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.2136, allocations: 11.94 kB / 0.9837 GB, free: 23.05 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.2137, allocations: 3.984 kB / 0.9837 GB, free: 23.04 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.2138, allocations: 157.8 kB / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.2138, allocations: 0 / 0.9838 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.016e-05/0.2138, allocations: 16.02 kB / 0.9838 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.2139, allocations: 7.922 kB / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.103e-06/0.2139, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.2139, allocations: 0 / 0.9839 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.2139, allocations: 3.984 kB / 0.9839 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002199/0.2141, allocations: 188.2 kB / 0.984 GB, free: 22.61 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.812e-05/0.2141, allocations: 77.11 kB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.222e-05/0.2141, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.624e-05/0.2142, allocations: 11.98 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.965e-05/0.2143, allocations: 0 / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-06/0.2143, allocations: 0 / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.419e-05/0.2143, allocations: 83.31 kB / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2143, allocations: 0 / 0.9842 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002143/0.2145, allocations: 23.98 kB / 0.9842 GB, free: 22.4 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 (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.0004747/0.215, allocations: 0.7241 MB / 0.9849 GB, free: 21.65 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000208/0.2152, allocations: 51.98 kB / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.2153, allocations: 0 / 0.985 GB, free: 21.6 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.26e-05/0.2153, allocations: 19.98 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.2156, allocations: 5.875 kB / 0.985 GB, free: 21.58 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003659/0.2159, allocations: 146.5 kB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001229/0.2161, allocations: 0.677 MB / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 2.252e-05/0.2161, allocations: 0 / 0.9858 GB, free: 20.7 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.956e-05/0.2161, allocations: 11.44 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of SimCode: time 2.61e-07/0.2161, allocations: 3.938 kB / 0.9858 GB, free: 20.68 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01174/0.2279, allocations: 1.268 MB / 0.9871 GB, free: 19.54 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/0.2281, allocations: 191.4 kB / 0.9872 GB, free: 19.3 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.583/1.812, allocations: 0 / 0.9872 GB, free: 19.3 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Examples_BesselJ1.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Examples.BesselJ1.pipe 2>&1)