Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Functions.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8793/0.8793, allocations: 143.3 MB / 158.3 MB, free: 5.801 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001478/0.001478, allocations: 181.1 kB / 191.5 MB, free: 5.758 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.832/1.832, allocations: 223.1 MB / 447.7 MB, free: 4.832 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009303/0.0009303, allocations: 92.25 kB / 0.5187 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001671/0.001672, allocations: 261.7 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006905/0.0006905, allocations: 16.59 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2281/0.2288, allocations: 82.81 MB / 0.7738 GB, free: 13.72 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1705/0.3994, allocations: 108.4 MB / 0.8796 GB, free: 1.207 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002184/0.3997, allocations: 79.95 kB / 0.8797 GB, free: 1.129 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3263/0.726, allocations: 2.091 MB / 0.8818 GB, free: 109 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.663e-06/0.7261, allocations: 0 / 0.8818 GB, free: 109 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 3.977e-06/0.7261, allocations: 2.312 kB / 0.8818 GB, free: 109 MB / 0.5417 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.0002023/0.7263, allocations: 345.6 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.946e-05/0.7263, allocations: 10.72 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.771e-05/0.7264, allocations: 36.09 kB / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.644e-05/0.7264, allocations: 0 / 0.8821 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.267e-05/0.7264, allocations: 159.7 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.082e-05/0.7265, allocations: 6.578 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.396e-06/0.7265, allocations: 3.25 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.21e-05/0.7266, allocations: 28.83 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.156e-06/0.7266, allocations: 4.109 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.093e-06/0.7266, allocations: 0 / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.7266, allocations: 2.625 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.614e-05/0.7266, allocations: 3.812 kB / 0.8823 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.202e-05/0.7267, allocations: 150.6 kB / 0.8825 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 2.807e-05/0.7267, allocations: 18.53 kB / 0.8825 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000469/0.7272, allocations: 447.4 kB / 0.8829 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.488e-05/0.7273, allocations: 39.41 kB / 0.883 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 9.82e-07/0.7273, allocations: 2.781 kB / 0.883 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001062/0.7274, allocations: 29.11 kB / 0.883 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.074e-05/0.7274, allocations: 53.59 kB / 0.883 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.25e-05/0.7274, allocations: 88.5 kB / 0.8831 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.312e-06/0.7274, allocations: 25.7 kB / 0.8831 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.175e-05/0.7274, allocations: 81.48 kB / 0.8832 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.237e-05/0.7275, allocations: 6.125 kB / 0.8832 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.814e-06/0.7275, allocations: 0.8438 kB / 0.8832 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.875e-05/0.7275, allocations: 319.7 kB / 0.8835 GB, free: 107 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.965e-06/0.7276, allocations: 5.25 kB / 0.8835 GB, free: 107 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.278e-06/0.7276, allocations: 1.75 kB / 0.8835 GB, free: 107 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.34e-05/0.7276, allocations: 0.625 kB / 0.8835 GB, free: 107 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.7276, allocations: 3.031 kB / 0.8835 GB, free: 107 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 3.978e-05/0.7276, allocations: 32.05 kB / 0.8836 GB, free: 107 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.132e-05/0.7276, allocations: 9.328 kB / 0.8836 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.799e-06/0.7277, allocations: 2.906 kB / 0.8836 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.7277, allocations: 5.922 kB / 0.8836 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.073e-05/0.7277, allocations: 0.75 kB / 0.8836 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.957e-06/0.7277, allocations: 8.031 kB / 0.8836 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.457e-06/0.7277, allocations: 2.438 kB / 0.8836 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.7278, allocations: 0 / 0.8836 GB, free: 107 MB / 0.5417 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.307e-05/0.7278, allocations: 106.4 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.851e-06/0.7278, allocations: 6.406 kB / 0.8837 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.695e-05/0.7279, allocations: 46.42 kB / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.293e-06/0.7279, allocations: 0 / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.7279, allocations: 3.969 kB / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.024e-06/0.7279, allocations: 4.031 kB / 0.8838 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.954e-05/0.728, allocations: 141.7 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.728, allocations: 3.328 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.066e-05/0.728, allocations: 3.719 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.728, allocations: 0 / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.218e-06/0.728, allocations: 0 / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.728, allocations: 3.953 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.728, allocations: 0 / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.844e-05/0.7281, allocations: 62.89 kB / 0.884 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.738e-05/0.7281, allocations: 81.05 kB / 0.884 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.106e-05/0.7281, allocations: 2.75 kB / 0.884 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.313e-06/0.7281, allocations: 0 / 0.884 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.35e-05/0.7281, allocations: 3.953 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.533e-06/0.7282, allocations: 3.938 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.117e-05/0.7282, allocations: 78.66 kB / 0.8841 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7282, allocations: 2.312 kB / 0.8841 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002332/0.7284, allocations: 37.77 kB / 0.8842 GB, free: 106.4 MB / 0.5417 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.0003934/0.7288, allocations: 0.6531 MB / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 5.02e-05/0.7289, allocations: 2.688 kB / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.7289, allocations: 0 / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.151e-06/0.7289, allocations: 6.5 kB / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.883e-05/0.729, allocations: 6.531 kB / 0.8848 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002435/0.7292, allocations: 133.2 kB / 0.8849 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.541e-05/0.7293, allocations: 0.6788 MB / 0.8856 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.163e-05/0.7293, allocations: 0.625 kB / 0.8856 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.209e-05/0.7294, allocations: 10.98 kB / 0.8856 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of SimCode: time 2.41e-07/0.7294, allocations: 0 / 0.8856 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0127/0.7421, allocations: 1.159 MB / 0.8868 GB, free: 104.8 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001709/0.7423, allocations: 200.2 kB / 0.8869 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.504/2.247, allocations: 4 kB / 0.8869 GB, free: 104.5 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselY0.pipe 2>&1)