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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8007/0.8007, allocations: 143.3 MB / 158.3 MB, free: 5.629 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.00116/0.00116, allocations: 185 kB / 191.5 MB, free: 5.652 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.453/1.453, 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.0009506/0.0009514, allocations: 92.27 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.001736/0.001736, allocations: 276.8 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007098/0.00071, allocations: 14.38 kB / 0.6929 GB, free: 59.44 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2163/0.217, allocations: 82.79 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.3826, allocations: 108.8 MB / 0.8801 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002394/0.3829, allocations: 75.95 kB / 0.8801 GB, free: 0.7109 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3757/0.7586, allocations: 1.577 MB / 0.8817 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.815e-06/0.7587, allocations: 1.125 kB / 0.8817 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.607e-06/0.7587, allocations: 0 / 0.8817 GB, free: 108.7 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003849/0.7591, allocations: 359.7 kB / 0.882 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.899e-05/0.7591, allocations: 11.25 kB / 0.882 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.944e-05/0.7592, allocations: 35.28 kB / 0.8821 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.77e-05/0.7592, allocations: 4.812 kB / 0.8821 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.7593, allocations: 162.6 kB / 0.8822 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.7594, allocations: 3.953 kB / 0.8822 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.139e-05/0.7594, allocations: 4.594 kB / 0.8822 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001758/0.7596, allocations: 52.72 kB / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.088e-06/0.7596, allocations: 3.734 kB / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.498e-06/0.7596, allocations: 3.281 kB / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.7596, allocations: 0 / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.7598, allocations: 48.11 kB / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004364/0.7602, allocations: 269 kB / 0.8826 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/0.7604, allocations: 43.95 kB / 0.8826 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005236/0.7609, allocations: 448 kB / 0.8831 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.994e-05/0.7609, allocations: 36.47 kB / 0.8831 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 3.146e-06/0.7609, allocations: 0 / 0.8831 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003545/0.7613, allocations: 99.52 kB / 0.8832 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.35e-05/0.7613, allocations: 54.25 kB / 0.8832 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.369e-05/0.7614, allocations: 93.23 kB / 0.8833 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.327e-06/0.7614, allocations: 25.7 kB / 0.8834 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.373e-05/0.7614, allocations: 86.52 kB / 0.8834 GB, free: 107 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.644e-05/0.7615, allocations: 7.844 kB / 0.8834 GB, free: 107 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.7615, allocations: 128 / 0.8834 GB, free: 107 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.645e-05/0.7615, allocations: 322 kB / 0.8837 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.952e-05/0.7616, allocations: 21.31 kB / 0.8838 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.324e-05/0.7617, allocations: 19.98 kB / 0.8838 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.418e-05/0.7618, allocations: 32.77 kB / 0.8838 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.362e-06/0.7618, allocations: 0 / 0.8838 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000169/0.762, allocations: 78.42 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.547e-05/0.762, allocations: 9.188 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.26e-06/0.762, allocations: 0 / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.52e-05/0.762, allocations: 3.938 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.731e-05/0.7621, allocations: 15.23 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.782e-06/0.7621, allocations: 1.438 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.897e-05/0.7622, allocations: 8.844 kB / 0.8839 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.7622, allocations: 1.469 kB / 0.8839 GB, free: 106.6 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 (2): * Single equations (assignments): 2 * 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 5.762e-05/0.7622, allocations: 119.1 kB / 0.884 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.141e-05/0.7623, allocations: 0.6875 kB / 0.884 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002115/0.7625, allocations: 85.33 kB / 0.8841 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.704e-06/0.7625, allocations: 0 / 0.8841 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.158e-06/0.7625, allocations: 0 / 0.8841 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.938e-06/0.7625, allocations: 4.031 kB / 0.8841 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001175/0.7626, allocations: 162.5 kB / 0.8843 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.655e-06/0.7627, allocations: 4.703 kB / 0.8843 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.674e-05/0.7627, allocations: 11 kB / 0.8843 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.643e-06/0.7627, allocations: 2.469 kB / 0.8843 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.7627, allocations: 0 / 0.8843 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.7627, allocations: 0 / 0.8843 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.7628, allocations: 0.75 kB / 0.8843 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001927/0.7629, allocations: 173.8 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.132e-05/0.763, allocations: 84.61 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.763, allocations: 0 / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.402e-05/0.7631, allocations: 13.02 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.933e-05/0.7631, allocations: 6.844 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.017e-06/0.7631, allocations: 1.062 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.268e-05/0.7632, allocations: 84.84 kB / 0.8847 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.01e-07/0.7632, allocations: 0 / 0.8847 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002306/0.7634, allocations: 31.97 kB / 0.8847 GB, free: 105.9 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 (2): * Single equations (assignments): 2 * 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.0004952/0.7639, allocations: 0.734 MB / 0.8854 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001953/0.7641, allocations: 46.25 kB / 0.8854 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.7641, allocations: 3.938 kB / 0.8854 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.719e-05/0.7642, allocations: 28.33 kB / 0.8855 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001775/0.7644, allocations: 4.969 kB / 0.8855 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003529/0.7647, allocations: 148.1 kB / 0.8856 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001148/0.7649, allocations: 0.6859 MB / 0.8863 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.293e-05/0.7649, allocations: 4.062 kB / 0.8863 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.991e-05/0.765, allocations: 13.88 kB / 0.8863 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.765, allocations: 0 / 0.8863 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01082/0.7758, allocations: 1.24 MB / 0.8875 GB, free: 104.2 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001385/0.776, allocations: 183.4 kB / 0.8877 GB, free: 104 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.549/2.325, allocations: 0 / 0.8877 GB, free: 104 MB / 0.5417 GB (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/linux/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)