Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.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.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1",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.001053/0.001052, allocations: 108 kB / 15.6 MB, free: 132 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.001077/0.001078, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.306/1.306, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002169/0.002169, allocations: 290.9 kB / 290.7 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9769/0.9769, allocations: 169.3 MB / 0.4982 GB, free: 13.86 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001947/0.001947, allocations: 91.81 kB / 0.5953 GB, free: 28.02 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1746/0.1766, allocations: 86.98 MB / 0.6803 GB, free: 0.5664 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002783/0.1794, allocations: 1.428 MB / 0.6817 GB, free: 15.14 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005313/0.18, allocations: 252.8 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.357e-05/0.1801, allocations: 2.469 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 4.35e-05/0.1801, allocations: 3.938 kB / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.125e-05/0.1802, allocations: 0 / 0.6819 GB, free: 14.89 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003685/0.1805, allocations: 59.83 kB / 0.682 GB, free: 14.83 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.635e-05/0.1806, allocations: 31.84 kB / 0.682 GB, free: 14.8 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.386e-05/0.1807, allocations: 10 kB / 0.682 GB, free: 14.79 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.124e-05/0.1808, allocations: 11.98 kB / 0.682 GB, free: 14.78 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.694e-05/0.1808, allocations: 7.938 kB / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.458e-06/0.1808, allocations: 0 / 0.682 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001466/0.181, allocations: 63.88 kB / 0.6821 GB, free: 14.71 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.313e-05/0.181, allocations: 8.609 kB / 0.6821 GB, free: 14.7 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.93e-05/0.181, allocations: 15.92 kB / 0.6821 GB, free: 14.68 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001785/0.1812, allocations: 45.94 kB / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.1812, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1812, allocations: 0 / 0.6822 GB, free: 14.64 MB / 494.1 MB Notification: Performance of Transformations before backend: time 1.367e-05/0.1813, allocations: 0 / 0.6822 GB, free: 14.64 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.0005002/0.1818, allocations: 348 kB / 0.6825 GB, free: 14.25 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1818, allocations: 12.75 kB / 0.6825 GB, free: 14.24 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.574e-05/0.1819, allocations: 30.75 kB / 0.6825 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.566e-05/0.1819, allocations: 1.812 kB / 0.6825 GB, free: 14.2 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001771/0.1821, allocations: 172.3 kB / 0.6827 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.166e-05/0.1821, allocations: 5 kB / 0.6827 GB, free: 13.99 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.516e-05/0.1821, allocations: 5.688 kB / 0.6827 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002476/0.1824, allocations: 46.23 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.086e-05/0.1824, allocations: 4.688 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.269e-05/0.1825, allocations: 4 kB / 0.6828 GB, free: 13.93 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.849e-06/0.1825, allocations: 4 kB / 0.6828 GB, free: 13.92 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002597/0.1827, allocations: 31.97 kB / 0.6828 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004077/0.1832, allocations: 245 kB / 0.683 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001892/0.1834, allocations: 42.44 kB / 0.6831 GB, free: 13.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001375/0.1835, allocations: 20.91 kB / 0.6831 GB, free: 13.53 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001014/0.1845, allocations: 461.5 kB / 0.6835 GB, free: 12.98 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.421e-05/0.1846, allocations: 30.56 kB / 0.6836 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.933e-06/0.1846, allocations: 4 kB / 0.6836 GB, free: 12.94 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000487/0.1851, allocations: 89.48 kB / 0.6837 GB, free: 12.85 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.1852, allocations: 51.41 kB / 0.6837 GB, free: 12.79 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001013/0.1853, allocations: 102 kB / 0.6838 GB, free: 12.68 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.1853, allocations: 25.7 kB / 0.6838 GB, free: 12.64 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.737e-05/0.1854, allocations: 84.14 kB / 0.6839 GB, free: 12.56 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1854, allocations: 7.969 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.382e-05/0.1855, allocations: 17.72 kB / 0.6839 GB, free: 12.53 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001534/0.1856, allocations: 322.8 kB / 0.6842 GB, free: 12.2 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001162/0.1858, allocations: 11.98 kB / 0.6842 GB, free: 12.19 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000109/0.1859, allocations: 15.98 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002283/0.1861, allocations: 44.88 kB / 0.6843 GB, free: 12.13 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.1861, allocations: 3.938 kB / 0.6843 GB, free: 12.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002876/0.1864, allocations: 65.61 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.626e-05/0.1865, allocations: 9.656 kB / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1865, allocations: 48 / 0.6844 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.1865, allocations: 3.984 kB / 0.6844 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.1866, allocations: 11.98 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.881e-06/0.1866, allocations: 3.938 kB / 0.6844 GB, free: 12.03 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.38e-05/0.1867, allocations: 12.02 kB / 0.6844 GB, free: 12.02 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.1867, allocations: 0 / 0.6844 GB, free: 12.02 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 0.0001053/0.1869, allocations: 114.4 kB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.459e-05/0.1869, allocations: 4 kB / 0.6845 GB, free: 11.89 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003294/0.1873, allocations: 64.78 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.869e-06/0.1873, allocations: 0 / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1873, allocations: 7.969 kB / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.867e-06/0.1873, allocations: 0 / 0.6846 GB, free: 11.81 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.1875, allocations: 165.6 kB / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.003e-06/0.1876, allocations: 0 / 0.6848 GB, free: 11.6 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.598e-05/0.1877, allocations: 11.98 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.1877, allocations: 0 / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.073e-05/0.1877, allocations: 4 kB / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.907e-06/0.1877, allocations: 0 / 0.6848 GB, free: 11.59 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.1877, allocations: 4 kB / 0.6848 GB, free: 11.58 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003405/0.1881, allocations: 163.4 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.502e-05/0.1881, allocations: 81.11 kB / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.1882, allocations: 0 / 0.685 GB, free: 11.31 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001212/0.1883, allocations: 11.98 kB / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.985e-05/0.1883, allocations: 0 / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.609e-06/0.1884, allocations: 0 / 0.685 GB, free: 11.3 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.677e-05/0.1884, allocations: 83.31 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.154e-06/0.1884, allocations: 0 / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004301/0.1889, allocations: 27.92 kB / 0.6851 GB, free: 11.19 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.0007966/0.1897, allocations: 0.7086 MB / 0.6858 GB, free: 10.45 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000271/0.19, allocations: 35.95 kB / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.19, allocations: 0 / 0.6858 GB, free: 10.41 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001072/0.1901, allocations: 23.92 kB / 0.6859 GB, free: 10.39 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002434/0.1904, allocations: 10.02 kB / 0.6859 GB, free: 10.38 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000424/0.1908, allocations: 139.2 kB / 0.686 GB, free: 10.21 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002486/0.1911, allocations: 0.6729 MB / 0.6867 GB, free: 9.508 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.464e-05/0.1911, allocations: 4 kB / 0.6867 GB, free: 9.504 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.193e-05/0.1911, allocations: 15.36 kB / 0.6867 GB, free: 9.488 MB / 494.1 MB Notification: Performance of SimCode: time 2.61e-07/0.1911, allocations: 7.875 kB / 0.6867 GB, free: 9.48 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2882/0.4794, allocations: 1.493 MB / 0.6882 GB, free: 8.055 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.299/8.778, allocations: 14.05 kB / 0.6882 GB, free: 8.047 MB / 494.1 MB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ1.pipe 2>&1)