Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001425/0.001425, allocations: 195.7 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.272/1.272, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002071/0.002072, allocations: 287.2 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9095/0.9095, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001685/0.001685, allocations: 96.22 kB / 0.5954 GB, free: 27.91 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.151/0.1527, allocations: 86.97 MB / 0.6803 GB, free: 0.5938 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0): time 0.0018/0.1546, allocations: 0.5681 MB / 0.6808 GB, free: 36 kB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004448/0.155, allocations: 199.2 kB / 0.681 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.158e-05/0.155, allocations: 0 / 0.681 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.148e-05/0.1551, allocations: 4.656 kB / 0.681 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.378e-06/0.1551, allocations: 0 / 0.681 GB, free: 15.84 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003436/0.1554, allocations: 52.36 kB / 0.6811 GB, free: 15.79 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.375e-05/0.1555, allocations: 9.891 kB / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.756e-05/0.1555, allocations: 0 / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.155e-05/0.1555, allocations: 0 / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.755e-05/0.1556, allocations: 0 / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 6.762e-06/0.1556, allocations: 0 / 0.6811 GB, free: 15.78 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001572/0.1557, allocations: 63.89 kB / 0.6812 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.815e-06/0.1558, allocations: 3.938 kB / 0.6812 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 1.524e-05/0.1558, allocations: 3.984 kB / 0.6812 GB, free: 15.71 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001005/0.1559, allocations: 31.95 kB / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.1559, allocations: 0 / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1559, allocations: 0 / 0.6812 GB, free: 15.68 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.789e-06/0.1559, allocations: 0 / 0.6812 GB, free: 15.68 MB / 494.1 MB 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.0002635/0.1562, allocations: 321.5 kB / 0.6815 GB, free: 15.31 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.1562, allocations: 8.031 kB / 0.6815 GB, free: 15.3 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.938e-05/0.1563, allocations: 30.75 kB / 0.6815 GB, free: 15.27 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.913e-05/0.1563, allocations: 4.938 kB / 0.6815 GB, free: 15.26 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.144e-05/0.1564, allocations: 160.4 kB / 0.6817 GB, free: 15.07 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.245e-06/0.1564, allocations: 4.375 kB / 0.6817 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.985e-06/0.1564, allocations: 384 / 0.6817 GB, free: 15.06 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.93e-05/0.1565, allocations: 34.25 kB / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.072e-05/0.1565, allocations: 7.875 kB / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.221e-06/0.1565, allocations: 0 / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.877e-06/0.1565, allocations: 0 / 0.6817 GB, free: 15.02 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.673e-05/0.1565, allocations: 4 kB / 0.6817 GB, free: 15.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001177/0.1567, allocations: 145.7 kB / 0.6819 GB, free: 14.82 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.978e-05/0.1567, allocations: 18.61 kB / 0.6819 GB, free: 14.79 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.1567, allocations: 8.844 kB / 0.6819 GB, free: 14.78 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006515/0.1574, allocations: 453.5 kB / 0.6823 GB, free: 14.25 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.841e-05/0.1574, allocations: 38.56 kB / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 2.274e-06/0.1574, allocations: 0 / 0.6824 GB, free: 14.2 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001068/0.1575, allocations: 37.58 kB / 0.6824 GB, free: 14.16 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.776e-05/0.1576, allocations: 59.39 kB / 0.6825 GB, free: 14.09 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.97e-05/0.1576, allocations: 89.86 kB / 0.6826 GB, free: 13.99 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 9.267e-06/0.1576, allocations: 29.64 kB / 0.6826 GB, free: 13.95 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.639e-05/0.1577, allocations: 80.14 kB / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.285e-05/0.1577, allocations: 416 / 0.6827 GB, free: 13.87 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.514e-05/0.1577, allocations: 17.72 kB / 0.6827 GB, free: 13.85 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.846e-05/0.1578, allocations: 310.8 kB / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.995e-06/0.1578, allocations: 0 / 0.683 GB, free: 13.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.68e-06/0.1578, allocations: 7.938 kB / 0.683 GB, free: 13.53 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.282e-05/0.1579, allocations: 12.8 kB / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.182e-06/0.1579, allocations: 0 / 0.683 GB, free: 13.51 MB / 494.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.597e-05/0.1579, allocations: 37.69 kB / 0.683 GB, free: 13.47 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.1579, allocations: 8.094 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1579, allocations: 3.938 kB / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.158, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.282e-05/0.158, allocations: 0 / 0.683 GB, free: 13.46 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.258e-06/0.158, allocations: 4 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.069e-05/0.158, allocations: 3.938 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.74e-06/0.158, allocations: 4 kB / 0.6831 GB, free: 13.45 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.316e-05/0.1581, allocations: 106.5 kB / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.416e-06/0.1581, allocations: 3.906 kB / 0.6832 GB, free: 13.33 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.462e-05/0.1582, allocations: 52.69 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.306e-06/0.1582, allocations: 4 kB / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.1582, allocations: 0 / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.625e-06/0.1582, allocations: 0 / 0.6832 GB, free: 13.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.876e-05/0.1583, allocations: 145.7 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/0.1583, allocations: 3.984 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.231e-05/0.1583, allocations: 4 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.283e-06/0.1584, allocations: 0 / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.981e-06/0.1584, allocations: 3.938 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.1584, allocations: 0 / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.1584, allocations: 4.031 kB / 0.6834 GB, free: 13.06 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.769e-05/0.1584, allocations: 57.08 kB / 0.6834 GB, free: 12.98 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.824e-05/0.1585, allocations: 85.09 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.1585, allocations: 3.938 kB / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.853e-06/0.1585, allocations: 0 / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.161e-05/0.1585, allocations: 0 / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.1585, allocations: 0 / 0.6835 GB, free: 12.88 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.16e-05/0.1585, allocations: 83.25 kB / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1586, allocations: 0 / 0.6836 GB, free: 12.8 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001974/0.1588, allocations: 16 kB / 0.6836 GB, free: 12.78 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003547/0.1591, allocations: 0.6125 MB / 0.6842 GB, free: 12.14 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 6.247e-05/0.1592, allocations: 11.92 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1592, allocations: 0 / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.333e-06/0.1592, allocations: 4 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001195/0.1593, allocations: 4 kB / 0.6842 GB, free: 12.12 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002529/0.1596, allocations: 102.7 kB / 0.6843 GB, free: 11.98 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002113/0.1598, allocations: 0.6846 MB / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.004e-05/0.1598, allocations: 0 / 0.685 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.403e-05/0.1598, allocations: 7.438 kB / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1599, allocations: 0 / 0.685 GB, free: 11.26 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01713/0.177, allocations: 1.127 MB / 0.6861 GB, free: 10.22 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.773/6.95, allocations: 12.03 kB / 0.6861 GB, free: 10.21 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0_res.csv --start-time 0 --stop-time 30 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.012 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)