Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.001015/0.001014, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001058/0.001058, allocations: 190.9 kB / 16.25 MB, free: 6.625 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.269/1.269, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001971/0.001971, allocations: 287 kB / 290.3 MB, free: 2.148 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9226/0.9226, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001688/0.001689, allocations: 99.06 kB / 0.5948 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1603/0.162, allocations: 86.98 MB / 0.6797 GB, free: 0.9531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ0): time 0.002633/0.1647, allocations: 1.491 MB / 0.6812 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004875/0.1652, allocations: 237.1 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.076e-05/0.1652, allocations: 0.6562 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.157e-05/0.1653, allocations: 4.703 kB / 0.6814 GB, free: 15.22 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.93e-05/0.1653, allocations: 7.922 kB / 0.6814 GB, free: 15.21 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003229/0.1657, allocations: 48.44 kB / 0.6815 GB, free: 15.17 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.443e-05/0.1657, allocations: 16.5 kB / 0.6815 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.814e-05/0.1658, allocations: 13.89 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.976e-05/0.1658, allocations: 4 kB / 0.6815 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.173e-05/0.1659, allocations: 15.91 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.079e-05/0.1659, allocations: 4 kB / 0.6815 GB, free: 15.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.166, allocations: 75.81 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.089e-05/0.166, allocations: 4 kB / 0.6816 GB, free: 15.04 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.1661, allocations: 7.938 kB / 0.6816 GB, free: 15.03 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000114/0.1662, allocations: 48.2 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.899e-06/0.1662, allocations: 3.984 kB / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1662, allocations: 0 / 0.6817 GB, free: 14.98 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.389e-06/0.1662, allocations: 3.938 kB / 0.6817 GB, free: 14.98 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003836/0.1666, allocations: 351.3 kB / 0.682 GB, free: 14.58 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.1667, allocations: 12.03 kB / 0.682 GB, free: 14.57 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.413e-05/0.1667, allocations: 34.75 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.107e-05/0.1667, allocations: 0.9375 kB / 0.682 GB, free: 14.53 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001007/0.1668, allocations: 164.4 kB / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1668, allocations: 384 / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.703e-06/0.1669, allocations: 384 / 0.6822 GB, free: 14.33 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.167, allocations: 54.17 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.365e-06/0.167, allocations: 3.938 kB / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.854e-06/0.167, allocations: 0 / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.167, allocations: 0 / 0.6823 GB, free: 14.27 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001572/0.1672, allocations: 39.95 kB / 0.6823 GB, free: 14.23 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000267/0.1675, allocations: 245 kB / 0.6825 GB, free: 13.94 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001158/0.1676, allocations: 42.42 kB / 0.6826 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.867e-05/0.1677, allocations: 28.91 kB / 0.6826 GB, free: 13.86 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005998/0.1683, allocations: 449.5 kB / 0.683 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.952e-05/0.1683, allocations: 34.55 kB / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1683, allocations: 0 / 0.6831 GB, free: 13.28 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003146/0.1687, allocations: 81.56 kB / 0.6831 GB, free: 13.2 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.248e-05/0.1687, allocations: 59.39 kB / 0.6832 GB, free: 13.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.581e-05/0.1688, allocations: 97.86 kB / 0.6833 GB, free: 13.02 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.248e-05/0.1688, allocations: 29.64 kB / 0.6833 GB, free: 12.98 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.476e-05/0.1688, allocations: 84.14 kB / 0.6834 GB, free: 12.9 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.865e-05/0.1689, allocations: 7.844 kB / 0.6834 GB, free: 12.89 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.084e-05/0.1689, allocations: 17.83 kB / 0.6834 GB, free: 12.87 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001092/0.169, allocations: 318.8 kB / 0.6837 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.28e-05/0.1691, allocations: 11.98 kB / 0.6837 GB, free: 12.54 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.478e-05/0.1692, allocations: 19.98 kB / 0.6838 GB, free: 12.52 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.1693, allocations: 36.81 kB / 0.6838 GB, free: 12.48 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.1693, allocations: 8 kB / 0.6838 GB, free: 12.47 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001644/0.1695, allocations: 61.67 kB / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.1695, allocations: 4 kB / 0.6839 GB, free: 12.4 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.1695, allocations: 7.984 kB / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.1695, allocations: 0 / 0.6839 GB, free: 12.39 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.297e-05/0.1696, allocations: 7.938 kB / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.1696, allocations: 0 / 0.6839 GB, free: 12.38 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.585e-05/0.1697, allocations: 11.92 kB / 0.6839 GB, free: 12.37 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.528e-06/0.1697, allocations: 4.031 kB / 0.6839 GB, free: 12.37 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 (2): * Single equations (assignments): 2 * 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.777e-05/0.1697, allocations: 114.4 kB / 0.684 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.22e-05/0.1698, allocations: 4.188 kB / 0.684 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001937/0.17, allocations: 72.77 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.17, allocations: 7.922 kB / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.897e-06/0.17, allocations: 0 / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.394e-06/0.17, allocations: 0 / 0.6841 GB, free: 12.16 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001325/0.1701, allocations: 161.6 kB / 0.6842 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1701, allocations: 0 / 0.6842 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.518e-05/0.1702, allocations: 15.98 kB / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.926e-06/0.1702, allocations: 0 / 0.6842 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.344e-06/0.1702, allocations: 3.938 kB / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.1702, allocations: 0 / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1702, allocations: 0 / 0.6843 GB, free: 11.93 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002041/0.1704, allocations: 171.9 kB / 0.6844 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.954e-05/0.1705, allocations: 77.11 kB / 0.6845 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.06e-05/0.1705, allocations: 0 / 0.6845 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.16e-05/0.1706, allocations: 7.984 kB / 0.6845 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.102e-05/0.1706, allocations: 4 kB / 0.6845 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.695e-06/0.1706, allocations: 0 / 0.6845 GB, free: 11.64 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.197e-05/0.1706, allocations: 83.28 kB / 0.6846 GB, free: 11.56 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1707, allocations: 0 / 0.6846 GB, free: 11.56 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002228/0.1709, allocations: 24.02 kB / 0.6846 GB, free: 11.54 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 (2): * Single equations (assignments): 2 * 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.0005207/0.1714, allocations: 0.7124 MB / 0.6853 GB, free: 10.79 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001895/0.1716, allocations: 39.95 kB / 0.6853 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1716, allocations: 0 / 0.6853 GB, free: 10.75 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.431e-05/0.1717, allocations: 19.98 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002138/0.1719, allocations: 1.828 kB / 0.6854 GB, free: 10.73 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003558/0.1723, allocations: 153.7 kB / 0.6855 GB, free: 10.55 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00021/0.1725, allocations: 0.6729 MB / 0.6862 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 1.988e-05/0.1725, allocations: 0 / 0.6862 GB, free: 9.848 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.187e-05/0.1726, allocations: 19.42 kB / 0.6862 GB, free: 9.828 MB / 494.1 MB Notification: Performance of SimCode: time 2.174e-06/0.1726, allocations: 0 / 0.6862 GB, free: 9.828 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0109/0.1835, allocations: 1.374 MB / 0.6875 GB, free: 8.566 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001641/0.1837, allocations: 197.1 kB / 0.6877 GB, free: 8.316 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.631/1.815, allocations: 0 / 0.6877 GB, free: 8.316 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)