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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8308/0.8308, allocations: 143.3 MB / 158.3 MB, free: 5.793 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.001386/0.001386, allocations: 183.8 kB / 191.5 MB, free: 5.766 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.543/1.543, allocations: 223.2 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.0009515/0.0009512, allocations: 84.39 kB / 0.5187 GB, free: 1.199 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00191/0.00191, allocations: 265.2 kB / 0.6005 GB, free: 48.79 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007701/0.0007698, allocations: 14.09 kB / 0.6929 GB, free: 59.69 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1942/0.195, allocations: 82.8 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1585/0.3535, allocations: 108.1 MB / 0.8793 GB, free: 1.562 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002722/0.3539, allocations: 79.94 kB / 0.8794 GB, free: 1.484 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.003334/0.3572, allocations: 1.246 MB / 0.8806 GB, free: 240 kB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.3572, allocations: 4 kB / 0.8806 GB, free: 236 kB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.032e-06/0.3572, allocations: 0 / 0.8806 GB, free: 236 kB / 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.3793/0.7366, allocations: 324.6 kB / 0.8809 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.39e-05/0.7366, allocations: 9.891 kB / 0.8809 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.86e-05/0.7367, allocations: 31.91 kB / 0.881 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.433e-05/0.7367, allocations: 1.547 kB / 0.881 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.614e-05/0.7368, allocations: 160.3 kB / 0.8811 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.105e-05/0.7368, allocations: 6.875 kB / 0.8811 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.997e-06/0.7368, allocations: 4.062 kB / 0.8811 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.995e-05/0.7369, allocations: 28.89 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.7369, allocations: 0.5625 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.624e-06/0.737, allocations: 1.469 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.737, allocations: 2.969 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.199e-05/0.737, allocations: 2.297 kB / 0.8812 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001086/0.7371, allocations: 148.8 kB / 0.8813 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 3.809e-05/0.7372, allocations: 23.17 kB / 0.8813 GB, free: 108.5 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005793/0.7377, allocations: 445.2 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.704e-05/0.7378, allocations: 33.16 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=1): time 1.153e-06/0.7378, allocations: 2.5 kB / 0.8818 GB, free: 108 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1): time 0.0001238/0.7379, allocations: 37.8 kB / 0.8818 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.7379, allocations: 52.28 kB / 0.8819 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.413e-05/0.738, allocations: 89.33 kB / 0.882 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.795e-06/0.738, allocations: 26.36 kB / 0.882 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.34e-05/0.738, allocations: 81.14 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.484e-05/0.738, allocations: 0.7812 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.955e-06/0.738, allocations: 3.875 kB / 0.8821 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.7e-05/0.7381, allocations: 318.8 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.436e-06/0.7381, allocations: 0.7188 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.632e-06/0.7381, allocations: 2.094 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.891e-05/0.7381, allocations: 1.688 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.7381, allocations: 0 / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.743e-05/0.7382, allocations: 38.22 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.7382, allocations: 9.984 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.209e-06/0.7382, allocations: 0 / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.183e-05/0.7382, allocations: 2.391 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.168e-05/0.7383, allocations: 1.75 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.793e-06/0.7383, allocations: 0.6562 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.899e-06/0.7383, allocations: 7.312 kB / 0.8824 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.47e-06/0.7383, allocations: 0.9062 kB / 0.8824 GB, free: 107.3 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.441e-05/0.7384, allocations: 107.7 kB / 0.8825 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.264e-06/0.7384, allocations: 1.578 kB / 0.8825 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.664e-05/0.7385, allocations: 46.69 kB / 0.8826 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.7385, allocations: 1.906 kB / 0.8826 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.27e-06/0.7385, allocations: 0 / 0.8826 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.7385, allocations: 3.625 kB / 0.8826 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.064e-05/0.7386, allocations: 147.3 kB / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.7386, allocations: 5.562 kB / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.139e-05/0.7386, allocations: 2.094 kB / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.7386, allocations: 0 / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.542e-06/0.7386, allocations: 1.125 kB / 0.8827 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.7386, allocations: 3.953 kB / 0.8827 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.7386, allocations: 0 / 0.8827 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.469e-05/0.7387, allocations: 70.06 kB / 0.8828 GB, free: 106.9 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.363e-05/0.7387, allocations: 77.11 kB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.098e-05/0.7387, allocations: 1.125 kB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-06/0.7387, allocations: 1.062 kB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.613e-05/0.7388, allocations: 5.141 kB / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.7388, allocations: 0 / 0.8829 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.735e-05/0.7388, allocations: 75.28 kB / 0.883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7388, allocations: 5.312 kB / 0.883 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00026/0.7391, allocations: 21.2 kB / 0.883 GB, free: 106.7 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.000432/0.7395, allocations: 0.6313 MB / 0.8836 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 6.201e-05/0.7396, allocations: 3.188 kB / 0.8836 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.7396, allocations: 0.9062 kB / 0.8836 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.713e-06/0.7396, allocations: 1.656 kB / 0.8836 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.595e-05/0.7397, allocations: 11.42 kB / 0.8836 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.74, allocations: 117 kB / 0.8837 GB, free: 106 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001052/0.7401, allocations: 0.6758 MB / 0.8844 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 1.442e-05/0.7401, allocations: 4.859 kB / 0.8844 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.7401, allocations: 8.469 kB / 0.8844 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of SimCode: time 2.425e-06/0.7401, allocations: 0 / 0.8844 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01182/0.752, allocations: 0.9427 MB / 0.8853 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002205/0.7522, allocations: 196.1 kB / 0.8855 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.494/2.246, allocations: 0 / 0.8855 GB, free: 104.9 MB / 0.5417 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Functions_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.BesselJ0.pipe 2>&1)