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.001327/0.001327, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001487/0.001487, allocations: 196.4 kB / 16.14 MB, free: 6.707 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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001802/0.001801, allocations: 274.8 kB / 290.2 MB, free: 2.23 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9115/0.9115, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001621/0.001621, allocations: 92.09 kB / 0.5946 GB, free: 28.32 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1858, allocations: 86.99 MB / 0.6795 GB, free: 1.086 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Examples.BesselJ1): time 0.002813/0.1886, allocations: 1.484 MB / 0.681 GB, free: 15.6 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005399/0.1892, allocations: 268.9 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.102e-05/0.1892, allocations: 0.625 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.86e-05/0.1893, allocations: 0 / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.574e-05/0.1893, allocations: 1.781 kB / 0.6813 GB, free: 15.34 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003069/0.1896, allocations: 51.88 kB / 0.6813 GB, free: 15.29 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.775e-05/0.1897, allocations: 19.92 kB / 0.6813 GB, free: 15.27 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.12e-05/0.1898, allocations: 12 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.444e-05/0.1898, allocations: 4 kB / 0.6813 GB, free: 15.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.633e-05/0.1899, allocations: 15.92 kB / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 8.025e-06/0.1899, allocations: 0 / 0.6814 GB, free: 15.23 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001423/0.19, allocations: 71.86 kB / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 9.858e-06/0.19, allocations: 0 / 0.6814 GB, free: 15.16 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.128e-05/0.1901, allocations: 11.88 kB / 0.6814 GB, free: 15.15 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001215/0.1902, allocations: 60.06 kB / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.1902, allocations: 0 / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 7.32e-07/0.1902, allocations: 0 / 0.6815 GB, free: 15.09 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.727e-06/0.1902, allocations: 4 kB / 0.6815 GB, free: 15.09 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.0004243/0.1906, allocations: 343.5 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.1907, allocations: 8.031 kB / 0.6818 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.914e-05/0.1907, allocations: 30.75 kB / 0.6819 GB, free: 14.66 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.241e-05/0.1907, allocations: 8.844 kB / 0.6819 GB, free: 14.65 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001045/0.1909, allocations: 164.4 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.895e-06/0.1909, allocations: 4.375 kB / 0.682 GB, free: 14.45 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.08e-05/0.1909, allocations: 4.375 kB / 0.682 GB, free: 14.44 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.191, allocations: 50.23 kB / 0.6821 GB, free: 14.39 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.175e-06/0.1911, allocations: 3.938 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.877e-06/0.1911, allocations: 4 kB / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.159e-06/0.1911, allocations: 0 / 0.6821 GB, free: 14.38 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1912, allocations: 31.91 kB / 0.6821 GB, free: 14.35 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003657/0.1916, allocations: 245 kB / 0.6824 GB, free: 14.06 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001301/0.1918, allocations: 46.5 kB / 0.6824 GB, free: 14 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.39e-05/0.1919, allocations: 16.91 kB / 0.6824 GB, free: 13.98 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008029/0.1927, allocations: 461.5 kB / 0.6829 GB, free: 13.44 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1927, allocations: 34.56 kB / 0.6829 GB, free: 13.4 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.1927, allocations: 3.938 kB / 0.6829 GB, free: 13.39 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003897/0.1931, allocations: 81.55 kB / 0.683 GB, free: 13.31 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.25e-05/0.1932, allocations: 51.41 kB / 0.683 GB, free: 13.25 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.544e-05/0.1933, allocations: 110 kB / 0.6831 GB, free: 13.13 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.568e-05/0.1933, allocations: 29.64 kB / 0.6831 GB, free: 13.09 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.604e-05/0.1934, allocations: 80.14 kB / 0.6832 GB, free: 13.01 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.24e-05/0.1934, allocations: 7.844 kB / 0.6832 GB, free: 13 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.866e-05/0.1934, allocations: 17.72 kB / 0.6832 GB, free: 12.98 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001521/0.1936, allocations: 310.8 kB / 0.6835 GB, free: 12.67 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.359e-05/0.1937, allocations: 15.97 kB / 0.6836 GB, free: 12.65 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.397e-05/0.1938, allocations: 23.98 kB / 0.6836 GB, free: 12.63 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001395/0.1939, allocations: 40.77 kB / 0.6836 GB, free: 12.59 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.1939, allocations: 3.938 kB / 0.6836 GB, free: 12.58 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001779/0.1941, allocations: 61.66 kB / 0.6837 GB, free: 12.52 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.1941, allocations: 8 kB / 0.6837 GB, free: 12.51 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1941, allocations: 4.094 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.159e-05/0.1941, allocations: 0 / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.177e-05/0.1942, allocations: 7.984 kB / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1942, allocations: 0 / 0.6837 GB, free: 12.5 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.446e-05/0.1943, allocations: 7.984 kB / 0.6837 GB, free: 12.49 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.585e-06/0.1943, allocations: 7.938 kB / 0.6837 GB, free: 12.48 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 8.572e-05/0.1944, allocations: 114.4 kB / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.187e-05/0.1944, allocations: 0 / 0.6838 GB, free: 12.36 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000212/0.1947, allocations: 80.91 kB / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1947, allocations: 3.984 kB / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.1947, allocations: 0 / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.1947, allocations: 0 / 0.6839 GB, free: 12.27 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001598/0.1949, allocations: 161.6 kB / 0.6841 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.1949, allocations: 0 / 0.6841 GB, free: 12.06 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.507e-05/0.1949, allocations: 8 kB / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.016e-06/0.1949, allocations: 4 kB / 0.6841 GB, free: 12.05 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.887e-06/0.1949, allocations: 8.016 kB / 0.6841 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.195, allocations: 0 / 0.6841 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.195, allocations: 0 / 0.6841 GB, free: 12.04 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000231/0.1952, allocations: 163.9 kB / 0.6842 GB, free: 11.87 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.155e-05/0.1952, allocations: 81.02 kB / 0.6843 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.441e-05/0.1953, allocations: 4 kB / 0.6843 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.934e-05/0.1953, allocations: 8.031 kB / 0.6843 GB, free: 11.76 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.06e-05/0.1954, allocations: 7.984 kB / 0.6843 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.11e-06/0.1954, allocations: 0 / 0.6843 GB, free: 11.75 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.352e-05/0.1955, allocations: 83.22 kB / 0.6844 GB, free: 11.67 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1955, allocations: 0 / 0.6844 GB, free: 11.67 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002311/0.1957, allocations: 16 kB / 0.6844 GB, free: 11.65 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.0006112/0.1963, allocations: 0.7163 MB / 0.6851 GB, free: 10.91 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001894/0.1965, allocations: 43.92 kB / 0.6852 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.1965, allocations: 0 / 0.6852 GB, free: 10.86 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 7.691e-05/0.1966, allocations: 19.98 kB / 0.6852 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002199/0.1968, allocations: 0 / 0.6852 GB, free: 10.84 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004123/0.1972, allocations: 146.6 kB / 0.6853 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000287/0.1975, allocations: 0.677 MB / 0.686 GB, free: 9.961 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 2.104e-05/0.1976, allocations: 4.125 kB / 0.686 GB, free: 9.957 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.1976, allocations: 11.44 kB / 0.686 GB, free: 9.945 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1976, allocations: 0 / 0.686 GB, free: 9.945 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01066/0.2083, allocations: 1.335 MB / 0.6873 GB, free: 8.703 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002154/0.2085, allocations: 196.5 kB / 0.6875 GB, free: 8.453 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.644/1.852, allocations: 7.938 kB / 0.6875 GB, free: 8.445 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)