Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselJ0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.8179/0.8179, allocations: 143.3 MB / 158.3 MB, free: 5.848 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.00111/0.00111, allocations: 177 kB / 191.5 MB, free: 5.789 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.48/1.48, allocations: 223.2 MB / 447.7 MB, free: 4.84 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.0008903/0.0008904, allocations: 88.34 kB / 0.5187 GB, free: 1.195 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001917/0.001917, allocations: 271.6 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004548/0.0004548, allocations: 13.06 kB / 0.6929 GB, free: 59.61 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1755/0.1759, allocations: 82.79 MB / 0.7738 GB, free: 13.77 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1546/0.3306, allocations: 108.8 MB / 0.88 GB, free: 0.8281 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/0.3309, allocations: 75.95 kB / 0.8801 GB, free: 0.7539 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.4356/0.7666, allocations: 1.535 MB / 0.8816 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.005e-06/0.7666, allocations: 0 / 0.8816 GB, free: 108.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.7666, allocations: 2.812 kB / 0.8816 GB, free: 108.8 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.0003621/0.767, allocations: 365.4 kB / 0.8819 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.807e-05/0.7671, allocations: 8.094 kB / 0.882 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.403e-05/0.7671, allocations: 33.8 kB / 0.882 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.413e-05/0.7671, allocations: 6.781 kB / 0.882 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.707e-05/0.7672, allocations: 162.8 kB / 0.8821 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.214e-05/0.7672, allocations: 9.688 kB / 0.8822 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.777e-06/0.7672, allocations: 0 / 0.8822 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.7674, allocations: 57.97 kB / 0.8822 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.7675, allocations: 0 / 0.8822 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.7675, allocations: 0 / 0.8822 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.163e-06/0.7675, allocations: 6.75 kB / 0.8822 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001766/0.7677, allocations: 47.28 kB / 0.8823 GB, free: 108.1 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003998/0.7681, allocations: 261.9 kB / 0.8825 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.7682, allocations: 45.69 kB / 0.8826 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004783/0.7687, allocations: 444.2 kB / 0.883 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.262e-05/0.7687, allocations: 34.97 kB / 0.883 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.7687, allocations: 4 kB / 0.883 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003448/0.7691, allocations: 93.89 kB / 0.8831 GB, free: 107.3 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.515e-05/0.7691, allocations: 61.94 kB / 0.8832 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.286e-05/0.7692, allocations: 91.98 kB / 0.8833 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 9.457e-06/0.7692, allocations: 25.7 kB / 0.8833 GB, free: 107.1 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.131e-05/0.7692, allocations: 80.14 kB / 0.8834 GB, free: 107 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.58e-05/0.7692, allocations: 9.719 kB / 0.8834 GB, free: 107 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.96e-06/0.7693, allocations: 3.75 kB / 0.8834 GB, free: 107 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.469e-05/0.7693, allocations: 313.8 kB / 0.8837 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.743e-05/0.7694, allocations: 21.48 kB / 0.8837 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.566e-05/0.7695, allocations: 23.69 kB / 0.8837 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.936e-05/0.7696, allocations: 28.91 kB / 0.8837 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.7696, allocations: 0 / 0.8837 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001818/0.7698, allocations: 86.84 kB / 0.8838 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.37e-05/0.7698, allocations: 2.938 kB / 0.8838 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7698, allocations: 2.625 kB / 0.8838 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7698, allocations: 0 / 0.8838 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.97e-05/0.7699, allocations: 15.8 kB / 0.8838 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/0.7699, allocations: 0 / 0.8838 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.99e-05/0.77, allocations: 10.56 kB / 0.8839 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.603e-06/0.77, allocations: 3.375 kB / 0.8839 GB, free: 106.7 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.868e-05/0.7701, allocations: 117 kB / 0.884 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.262e-05/0.7701, allocations: 2.781 kB / 0.884 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002222/0.7703, allocations: 86.42 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.7703, allocations: 0 / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.039e-06/0.7704, allocations: 0.5625 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.146e-06/0.7704, allocations: 2.812 kB / 0.8841 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001128/0.7705, allocations: 158.1 kB / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.7705, allocations: 3.953 kB / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.839e-05/0.7706, allocations: 12.25 kB / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.365e-06/0.7706, allocations: 6.703 kB / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.813e-06/0.7706, allocations: 0 / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.7706, allocations: 0 / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.7706, allocations: 0 / 0.8842 GB, free: 106.3 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002045/0.7708, allocations: 169.9 kB / 0.8844 GB, free: 106.2 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.429e-05/0.7708, allocations: 84.7 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.527e-05/0.7709, allocations: 4.625 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.297e-05/0.7709, allocations: 8.516 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.567e-05/0.771, allocations: 10.22 kB / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.966e-06/0.771, allocations: 0 / 0.8845 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.522e-05/0.771, allocations: 83.69 kB / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.771, allocations: 0 / 0.8846 GB, free: 106 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002339/0.7713, allocations: 23.69 kB / 0.8846 GB, free: 106 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.0005251/0.7718, allocations: 0.7354 MB / 0.8853 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.772, allocations: 51.69 kB / 0.8854 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.772, allocations: 3.938 kB / 0.8854 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.949e-05/0.7721, allocations: 22.16 kB / 0.8854 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.7723, allocations: 14.19 kB / 0.8854 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003924/0.7727, allocations: 146.5 kB / 0.8855 GB, free: 105.1 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00012/0.7728, allocations: 0.6769 MB / 0.8862 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.606e-05/0.7729, allocations: 5.531 kB / 0.8862 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.009e-05/0.7729, allocations: 10.38 kB / 0.8862 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of SimCode: time 2.21e-07/0.7729, allocations: 0 / 0.8862 GB, free: 104.4 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01259/0.7855, allocations: 1.245 MB / 0.8874 GB, free: 104.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001549/0.7857, allocations: 182 kB / 0.8876 GB, free: 104 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.511/2.296, allocations: 0 / 0.8876 GB, free: 104 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0_fmu --startTime=0 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselJ0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselJ0.pipe 2>&1)