Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.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.Functions.Examples.BesselJ0,fileNamePrefix="Buildings_maint_7_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_7_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 7.0.3-maint.7.0.x/package.mo): time 1.34/1.34, allocations: 252 MB / 267 MB, free: 10.96 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.0009373/0.0009376, allocations: 174.1 kB / 326.6 MB, free: 2.211 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.427/1.427, allocations: 205.4 MB / 0.5777 GB, free: 20.25 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.0007154/0.0007154, allocations: 82.38 kB / 0.6823 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004475/0.0004476, allocations: 9.25 kB / 0.7965 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1601/0.1606, allocations: 106.3 MB / 0.9003 GB, free: 63.79 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.BesselJ0): time 0.0005745/0.1612, allocations: 326.1 kB / 0.9006 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003301/0.1616, allocations: 168.9 kB / 0.9008 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.045e-06/0.1616, allocations: 0 / 0.9008 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 8.385e-06/0.1616, allocations: 0 / 0.9008 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.09e-06/0.1616, allocations: 0 / 0.9008 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.1619, allocations: 39.91 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 2.998e-05/0.162, allocations: 4 kB / 0.9008 GB, free: 63.27 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.824e-05/0.162, allocations: 4 kB / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.172e-05/0.162, allocations: 0 / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.362e-05/0.1621, allocations: 0 / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.602e-06/0.1621, allocations: 0 / 0.9008 GB, free: 63.26 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001533/0.1622, allocations: 67.86 kB / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 5.079e-06/0.1623, allocations: 0 / 0.9009 GB, free: 63.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 1.715e-05/0.1623, allocations: 25.7 kB / 0.9009 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.788e-05/0.1624, allocations: 19.91 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.1624, allocations: 0 / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.282e-06/0.1624, allocations: 4 kB / 0.9009 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.1624, allocations: 0 / 0.9009 GB, free: 63.14 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0001769/0.1626, allocations: 324.2 kB / 0.9013 GB, free: 62.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.1626, allocations: 12.03 kB / 0.9013 GB, free: 62.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.204e-05/0.1626, allocations: 34.55 kB / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.805e-05/0.1627, allocations: 0 / 0.9013 GB, free: 62.72 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.888e-05/0.1627, allocations: 167 kB / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-06/0.1627, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.256e-06/0.1627, allocations: 0 / 0.9015 GB, free: 62.52 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.607e-05/0.1628, allocations: 33.7 kB / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.052e-06/0.1628, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.063e-06/0.1628, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.657e-06/0.1629, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.62e-05/0.1629, allocations: 0 / 0.9015 GB, free: 62.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001145/0.163, allocations: 157.6 kB / 0.9016 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.226e-05/0.163, allocations: 22.52 kB / 0.9017 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.161e-05/0.1631, allocations: 4.859 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005791/0.1636, allocations: 453.6 kB / 0.9021 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.919e-05/0.1637, allocations: 42.55 kB / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.042e-06/0.1637, allocations: 0 / 0.9021 GB, free: 61.65 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001045/0.1638, allocations: 29.7 kB / 0.9022 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.973e-05/0.1638, allocations: 59.47 kB / 0.9022 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.845e-05/0.1638, allocations: 89.86 kB / 0.9023 GB, free: 61.45 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 6.692e-06/0.1639, allocations: 25.7 kB / 0.9023 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 1.101e-05/0.1639, allocations: 80.14 kB / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-05/0.1639, allocations: 0 / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.314e-06/0.1639, allocations: 0 / 0.9024 GB, free: 61.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.634e-05/0.164, allocations: 318.8 kB / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.382e-06/0.164, allocations: 0 / 0.9027 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.102e-06/0.164, allocations: 3.984 kB / 0.9027 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.958e-05/0.164, allocations: 8.016 kB / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.402e-06/0.164, allocations: 0 / 0.9027 GB, free: 61 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.606e-05/0.1641, allocations: 33.7 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.477e-05/0.1641, allocations: 6.5 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1641, allocations: 4 kB / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.016e-05/0.1641, allocations: 0 / 0.9028 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.734e-05/0.1642, allocations: 4 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/0.1642, allocations: 3.938 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.065e-05/0.1642, allocations: 3.984 kB / 0.9028 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.138e-06/0.1642, allocations: 7.969 kB / 0.9028 GB, free: 60.94 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 (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 4.096e-05/0.1642, allocations: 117.7 kB / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.181e-06/0.1642, allocations: 0 / 0.9029 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.349e-05/0.1643, allocations: 40.83 kB / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1643, allocations: 0 / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.1643, allocations: 0 / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.1643, allocations: 0 / 0.9029 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.836e-05/0.1644, allocations: 149.7 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1644, allocations: 3.953 kB / 0.9031 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.27e-05/0.1644, allocations: 8.031 kB / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.1644, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-06/0.1644, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1644, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.1644, allocations: 0 / 0.9031 GB, free: 60.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.729e-05/0.1645, allocations: 65.06 kB / 0.9032 GB, free: 60.48 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.561e-05/0.1645, allocations: 81.06 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.496e-06/0.1645, allocations: 0 / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-06/0.1645, allocations: 4.031 kB / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.496e-05/0.1646, allocations: 0 / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.723e-06/0.1646, allocations: 0 / 0.9032 GB, free: 60.38 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.23e-05/0.1646, allocations: 75.28 kB / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.1646, allocations: 0 / 0.9033 GB, free: 60.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001869/0.1648, allocations: 12 kB / 0.9033 GB, free: 60.29 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 (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.0002809/0.1651, allocations: 0.624 MB / 0.9039 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 4.67e-05/0.1651, allocations: 4 kB / 0.9039 GB, free: 59.63 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.1651, allocations: 4 kB / 0.9039 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 5.771e-06/0.1652, allocations: 4 kB / 0.9039 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001157/0.1653, allocations: 4.156 kB / 0.9039 GB, free: 59.62 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002217/0.1655, allocations: 104.3 kB / 0.904 GB, free: 59.48 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.757e-05/0.1656, allocations: 0.6692 MB / 0.9047 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 1.19e-05/0.1656, allocations: 4 kB / 0.9047 GB, free: 58.78 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.788e-06/0.1656, allocations: 7.438 kB / 0.9047 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of SimCode: time 2.21e-07/0.1656, allocations: 0 / 0.9047 GB, free: 58.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01062/0.1763, allocations: 0.9709 MB / 0.9057 GB, free: 57.95 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001395/0.1764, allocations: 203.2 kB / 0.9059 GB, free: 57.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.493/1.67, allocations: 0 / 0.9059 GB, free: 57.7 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_BesselJ0.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)