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.8181/0.8181, allocations: 141.7 MB / 154.3 MB, free: 15.48 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 186 kB / 187.3 MB, free: 11.89 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.639/1.639, allocations: 221.3 MB / 441.4 MB, free: 4.613 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.001032/0.001032, allocations: 96.53 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001964/0.001964, allocations: 268.4 kB / 0.5939 GB, free: 7.969 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 4.267e-05/4.276e-05, allocations: 4 kB / 0.6835 GB, free: 12.15 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5886/0.5887, allocations: 82.77 MB / 0.7644 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1352/0.724, allocations: 108.7 MB / 0.8705 GB, free: 15.79 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002823/0.7243, allocations: 71.95 kB / 0.8706 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.004707/0.7291, allocations: 1.54 MB / 0.8721 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7291, allocations: 0 / 0.8721 GB, free: 14.19 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7291, allocations: 0 / 0.8721 GB, free: 14.19 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.000384/0.7295, allocations: 350.5 kB / 0.8725 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.833e-05/0.7296, allocations: 12.03 kB / 0.8725 GB, free: 13.79 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.51e-05/0.7296, allocations: 34.56 kB / 0.8725 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.589e-05/0.7297, allocations: 0 / 0.8725 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001349/0.7298, allocations: 163.1 kB / 0.8727 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.426e-05/0.7298, allocations: 3.953 kB / 0.8727 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.168e-06/0.7298, allocations: 0 / 0.8727 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001097/0.73, allocations: 45.62 kB / 0.8727 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.73, allocations: 0 / 0.8727 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.73, allocations: 0 / 0.8727 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.73, allocations: 0 / 0.8727 GB, free: 13.49 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.91e-05/0.73, allocations: 12 kB / 0.8727 GB, free: 13.48 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004362/0.7305, allocations: 268.8 kB / 0.873 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.949e-05/0.7306, allocations: 26.58 kB / 0.873 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.748e-05/0.7306, allocations: 18.81 kB / 0.873 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005691/0.7312, allocations: 445.5 kB / 0.8734 GB, free: 12.59 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.7312, allocations: 30.56 kB / 0.8735 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.242e-06/0.7312, allocations: 0 / 0.8735 GB, free: 12.55 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0001588/0.7314, allocations: 41.7 kB / 0.8735 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.7314, allocations: 55.44 kB / 0.8736 GB, free: 12.43 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.864e-05/0.7315, allocations: 101 kB / 0.8737 GB, free: 12.33 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.7316, allocations: 25.7 kB / 0.8737 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.911e-05/0.7316, allocations: 84.08 kB / 0.8738 GB, free: 12.21 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.925e-05/0.7316, allocations: 15.84 kB / 0.8738 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.995e-06/0.7317, allocations: 0 / 0.8738 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.7318, allocations: 314.8 kB / 0.8741 GB, free: 11.88 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.811e-05/0.7318, allocations: 7.938 kB / 0.8741 GB, free: 11.87 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.286e-05/0.7319, allocations: 8 kB / 0.8741 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 1.789e-05/0.7319, allocations: 7.984 kB / 0.8741 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7319, allocations: 0 / 0.8741 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 8.32e-05/0.732, allocations: 41.7 kB / 0.8741 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.732, allocations: 4 kB / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.732, allocations: 0 / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.732, allocations: 0 / 0.8741 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.668e-05/0.7321, allocations: 15.98 kB / 0.8742 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.312e-06/0.7321, allocations: 8.094 kB / 0.8742 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.82e-05/0.7322, allocations: 7.984 kB / 0.8742 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.7322, allocations: 0 / 0.8742 GB, free: 11.77 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 () * 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 7.971e-05/0.7323, allocations: 112.9 kB / 0.8743 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.357e-05/0.7323, allocations: 3.906 kB / 0.8743 GB, free: 11.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001071/0.7324, allocations: 48.75 kB / 0.8743 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.7325, allocations: 0 / 0.8743 GB, free: 11.6 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.005e-06/0.7325, allocations: 8.031 kB / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.7325, allocations: 0 / 0.8743 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001489/0.7326, allocations: 157.6 kB / 0.8745 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.7326, allocations: 0 / 0.8745 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.971e-05/0.7327, allocations: 11.98 kB / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.854e-06/0.7327, allocations: 0 / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.624e-06/0.7327, allocations: 0 / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.21e-07/0.7327, allocations: 0 / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.7327, allocations: 0 / 0.8745 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.7329, allocations: 147.5 kB / 0.8746 GB, free: 11.22 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.4e-05/0.7329, allocations: 81.06 kB / 0.8747 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.7329, allocations: 4 kB / 0.8747 GB, free: 11.12 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.797e-05/0.733, allocations: 7.984 kB / 0.8747 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.7331, allocations: 4 kB / 0.8747 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.156e-06/0.7331, allocations: 3.938 kB / 0.8747 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.183e-05/0.7331, allocations: 83.31 kB / 0.8748 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.773e-06/0.7331, allocations: 0 / 0.8748 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000231/0.7334, allocations: 35.86 kB / 0.8749 GB, free: 10.98 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 () * 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.0005492/0.7339, allocations: 0.6968 MB / 0.8755 GB, free: 10.26 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.82e-05/0.734, allocations: 19.98 kB / 0.8756 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.734, allocations: 0 / 0.8756 GB, free: 10.24 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.326e-05/0.7341, allocations: 8 kB / 0.8756 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001874/0.7343, allocations: 4 kB / 0.8756 GB, free: 10.23 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003486/0.7346, allocations: 102.7 kB / 0.8757 GB, free: 10.09 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002703/0.7349, allocations: 0.6809 MB / 0.8763 GB, free: 9.387 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.786e-05/0.7349, allocations: 10.19 kB / 0.8763 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.132e-05/0.735, allocations: 11.44 kB / 0.8763 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of SimCode: time 3.7e-07/0.735, allocations: 0 / 0.8763 GB, free: 9.367 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01295/0.7479, allocations: 1.23 MB / 0.8775 GB, free: 8.27 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001943/0.7482, allocations: 161.3 kB / 0.8777 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.763/2.511, allocations: 4 kB / 0.8777 GB, free: 8.035 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)