Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.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.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY0,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_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.9185/0.9185, allocations: 143.3 MB / 158.3 MB, free: 5.754 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.001311/0.001311, allocations: 183.6 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.444/1.444, allocations: 223.2 MB / 447.7 MB, free: 6.539 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.001068/0.001068, allocations: 100.4 kB / 0.5187 GB, free: 2.898 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001677/0.001677, allocations: 274.4 kB / 0.6005 GB, free: 48.98 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004544/0.0004547, allocations: 16 kB / 0.6929 GB, free: 2.215 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4389/0.4394, allocations: 82.77 MB / 0.7738 GB, free: 26.2 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1574/0.5968, allocations: 109.1 MB / 0.8803 GB, free: 12.96 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002531/0.5971, allocations: 71.95 kB / 0.8804 GB, free: 12.89 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007274/0.6044, allocations: 2.42 MB / 0.8828 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.994e-06/0.6045, allocations: 0 / 0.8828 GB, free: 10.48 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.514e-06/0.6045, allocations: 0 / 0.8828 GB, free: 10.48 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.0004429/0.6049, allocations: 367.3 kB / 0.8831 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.72e-05/0.605, allocations: 12.03 kB / 0.8831 GB, free: 10.06 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.667e-05/0.605, allocations: 30.56 kB / 0.8831 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.546e-05/0.6051, allocations: 7.906 kB / 0.8832 GB, free: 10.01 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001283/0.6052, allocations: 163.1 kB / 0.8833 GB, free: 9.812 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.6052, allocations: 11.95 kB / 0.8833 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.284e-06/0.6052, allocations: 0 / 0.8833 GB, free: 9.801 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001811/0.6054, allocations: 61.59 kB / 0.8834 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.6054, allocations: 0 / 0.8834 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.6054, allocations: 0 / 0.8834 GB, free: 9.734 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.6055, allocations: 4 kB / 0.8834 GB, free: 9.73 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001955/0.6057, allocations: 39.97 kB / 0.8834 GB, free: 9.691 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004267/0.6061, allocations: 268.9 kB / 0.8837 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.6062, allocations: 46.5 kB / 0.8837 GB, free: 9.324 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006057/0.6069, allocations: 449.5 kB / 0.8842 GB, free: 8.793 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.6069, allocations: 34.56 kB / 0.8842 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.183e-06/0.6069, allocations: 0 / 0.8842 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003648/0.6073, allocations: 97.64 kB / 0.8843 GB, free: 8.648 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.851e-05/0.6073, allocations: 51.41 kB / 0.8843 GB, free: 8.586 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.669e-05/0.6074, allocations: 89 kB / 0.8844 GB, free: 8.492 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.985e-05/0.6074, allocations: 29.64 kB / 0.8844 GB, free: 8.457 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 5.893e-05/0.6075, allocations: 88.14 kB / 0.8845 GB, free: 8.367 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.745e-05/0.6075, allocations: 7.969 kB / 0.8845 GB, free: 8.359 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.6075, allocations: 4 kB / 0.8845 GB, free: 8.355 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6077, allocations: 314.8 kB / 0.8848 GB, free: 8.039 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.518e-05/0.6078, allocations: 27.92 kB / 0.8849 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.901e-05/0.6079, allocations: 19.92 kB / 0.8849 GB, free: 7.992 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.254e-05/0.6079, allocations: 32 kB / 0.8849 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.613e-06/0.608, allocations: 0 / 0.8849 GB, free: 7.961 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001933/0.6082, allocations: 81.56 kB / 0.885 GB, free: 7.875 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/0.6082, allocations: 4 kB / 0.885 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.6082, allocations: 0 / 0.885 GB, free: 7.871 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.636e-05/0.6082, allocations: 4 kB / 0.885 GB, free: 7.867 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.786e-05/0.6083, allocations: 11.98 kB / 0.885 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.6083, allocations: 0 / 0.885 GB, free: 7.855 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.6084, allocations: 7.984 kB / 0.885 GB, free: 7.848 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.6084, allocations: 0 / 0.885 GB, free: 7.848 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 8.638e-05/0.6085, allocations: 118.4 kB / 0.8851 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/0.6085, allocations: 4 kB / 0.8851 GB, free: 7.719 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002342/0.6087, allocations: 80.72 kB / 0.8852 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.833e-06/0.6088, allocations: 0 / 0.8852 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.6088, allocations: 8.031 kB / 0.8852 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.065e-06/0.6088, allocations: 0 / 0.8852 GB, free: 7.625 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000173/0.609, allocations: 161.7 kB / 0.8854 GB, free: 7.418 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.575e-06/0.609, allocations: 3.953 kB / 0.8854 GB, free: 7.414 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.041e-05/0.609, allocations: 8 kB / 0.8854 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/0.609, allocations: 0 / 0.8854 GB, free: 7.406 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.969e-06/0.6091, allocations: 3.984 kB / 0.8854 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.6091, allocations: 0 / 0.8854 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.6091, allocations: 0 / 0.8854 GB, free: 7.402 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.6093, allocations: 175.5 kB / 0.8856 GB, free: 7.215 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.255e-05/0.6094, allocations: 88.97 kB / 0.8856 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.6094, allocations: 0 / 0.8856 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.515e-05/0.6095, allocations: 8.031 kB / 0.8856 GB, free: 7.102 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.697e-05/0.6095, allocations: 7.984 kB / 0.8857 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.26e-06/0.6096, allocations: 0 / 0.8857 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 4.128e-05/0.6096, allocations: 87.41 kB / 0.8857 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6096, allocations: 0 / 0.8857 GB, free: 7.008 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002668/0.6099, allocations: 39.92 kB / 0.8858 GB, free: 6.969 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.0007651/0.6107, allocations: 0.7659 MB / 0.8865 GB, free: 6.18 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.6109, allocations: 51.95 kB / 0.8866 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.6109, allocations: 0 / 0.8866 GB, free: 6.129 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 8.497e-05/0.611, allocations: 23.98 kB / 0.8866 GB, free: 6.105 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001882/0.6112, allocations: 6.578 kB / 0.8866 GB, free: 6.102 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004673/0.6117, allocations: 170.3 kB / 0.8868 GB, free: 5.895 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.6119, allocations: 0.677 MB / 0.8874 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 2.285e-05/0.612, allocations: 0 / 0.8874 GB, free: 5.191 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.093e-05/0.612, allocations: 15.44 kB / 0.8874 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of SimCode: time 1.613e-06/0.612, allocations: 0 / 0.8874 GB, free: 5.176 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01247/0.6245, allocations: 1.457 MB / 0.8889 GB, free: 3.848 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001663/0.6247, allocations: 188.6 kB / 0.889 GB, free: 3.598 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.559/2.184, allocations: 0 / 0.889 GB, free: 3.598 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY0.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY0.pipe 2>&1)