Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.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.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Math.Examples.BesselY1,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1",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.7939/0.7939, allocations: 143.4 MB / 158.3 MB, free: 5.781 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.001214/0.001214, allocations: 173.1 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.546/1.546, allocations: 223.1 MB / 447.7 MB, free: 4.844 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.001045/0.001045, allocations: 100.2 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.001738/0.001738, allocations: 278.6 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004147/0.0004147, allocations: 15.59 kB / 0.6929 GB, free: 59.66 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1686/0.169, allocations: 82.8 MB / 0.7738 GB, free: 13.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1667/0.3358, allocations: 109.2 MB / 0.8804 GB, free: 456 kB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.3361, allocations: 75.94 kB / 0.8805 GB, free: 380 kB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.3748/0.7109, allocations: 2.479 MB / 0.8829 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.094e-06/0.711, allocations: 0 / 0.8829 GB, free: 109.3 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.201e-05/0.711, allocations: 4.562 kB / 0.8829 GB, free: 109.3 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.0003491/0.7113, allocations: 372.4 kB / 0.8833 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.7114, allocations: 7.906 kB / 0.8833 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.198e-05/0.7114, allocations: 35.59 kB / 0.8833 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.397e-05/0.7115, allocations: 3.906 kB / 0.8833 GB, free: 108.9 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.929e-05/0.7116, allocations: 165.1 kB / 0.8835 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.7116, allocations: 3.953 kB / 0.8835 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.917e-06/0.7116, allocations: 5.641 kB / 0.8835 GB, free: 108.7 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.7118, allocations: 56.94 kB / 0.8835 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.7118, allocations: 3.938 kB / 0.8835 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.615e-06/0.7118, allocations: 0 / 0.8835 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.576e-06/0.7118, allocations: 0 / 0.8835 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.712, allocations: 45.73 kB / 0.8836 GB, free: 108.6 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000347/0.7123, allocations: 266.1 kB / 0.8838 GB, free: 108.4 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001049/0.7124, allocations: 45.72 kB / 0.8839 GB, free: 108.3 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005225/0.713, allocations: 457 kB / 0.8843 GB, free: 107.9 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.713, allocations: 38.44 kB / 0.8843 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.713, allocations: 3.938 kB / 0.8843 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003338/0.7133, allocations: 98.89 kB / 0.8844 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.7134, allocations: 51.41 kB / 0.8845 GB, free: 107.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.814e-05/0.7134, allocations: 92.09 kB / 0.8846 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.07e-05/0.7134, allocations: 29.17 kB / 0.8846 GB, free: 107.6 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.007e-05/0.7135, allocations: 86.86 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.7135, allocations: 3.906 kB / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-06/0.7135, allocations: 0 / 0.8847 GB, free: 107.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 5.287e-05/0.7136, allocations: 317.8 kB / 0.885 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.652e-05/0.7137, allocations: 20.94 kB / 0.885 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.407e-05/0.7137, allocations: 21.66 kB / 0.885 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.052e-05/0.7138, allocations: 34.61 kB / 0.8851 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.7138, allocations: 0 / 0.8851 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001755/0.714, allocations: 78.19 kB / 0.8851 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.714, allocations: 6.5 kB / 0.8851 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.714, allocations: 4.031 kB / 0.8852 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.714, allocations: 1.172 kB / 0.8852 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.19e-05/0.7141, allocations: 13.41 kB / 0.8852 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.76e-06/0.7141, allocations: 0 / 0.8852 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.427e-05/0.7142, allocations: 5.031 kB / 0.8852 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.7142, allocations: 2.5 kB / 0.8852 GB, free: 107.2 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.632e-05/0.7143, allocations: 125 kB / 0.8853 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.222e-05/0.7143, allocations: 2.656 kB / 0.8853 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002044/0.7145, allocations: 83.16 kB / 0.8854 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.7145, allocations: 0 / 0.8854 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.7145, allocations: 3 kB / 0.8854 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.816e-06/0.7145, allocations: 4.031 kB / 0.8854 GB, free: 107 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.7147, allocations: 151.2 kB / 0.8855 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.7147, allocations: 4.953 kB / 0.8855 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.893e-05/0.7147, allocations: 14.2 kB / 0.8855 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.7147, allocations: 1 kB / 0.8855 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.7148, allocations: 0 / 0.8855 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.7148, allocations: 0.7812 kB / 0.8855 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.7148, allocations: 0 / 0.8855 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001945/0.715, allocations: 175.1 kB / 0.8857 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 2.303e-05/0.715, allocations: 85.73 kB / 0.8858 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.715, allocations: 4.75 kB / 0.8858 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.479e-05/0.7151, allocations: 15.5 kB / 0.8858 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.07e-05/0.7151, allocations: 3.328 kB / 0.8858 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.7151, allocations: 2.938 kB / 0.8858 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.031e-05/0.7152, allocations: 78.28 kB / 0.8859 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7152, allocations: 3.938 kB / 0.8859 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002828/0.7155, allocations: 51.8 kB / 0.8859 GB, free: 106.5 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.0006305/0.7161, allocations: 0.7626 MB / 0.8867 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.7163, allocations: 50.81 kB / 0.8867 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.7163, allocations: 0 / 0.8867 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 7.968e-05/0.7164, allocations: 22.44 kB / 0.8868 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002034/0.7166, allocations: 2.438 kB / 0.8868 GB, free: 105.8 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004399/0.7171, allocations: 170.6 kB / 0.8869 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001432/0.7172, allocations: 0.6777 MB / 0.8876 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.215e-05/0.7173, allocations: 7.453 kB / 0.8876 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.196e-05/0.7173, allocations: 13.78 kB / 0.8876 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of SimCode: time 3.2e-07/0.7173, allocations: 0 / 0.8876 GB, free: 104.9 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01623/0.7335, allocations: 1.475 MB / 0.889 GB, free: 104.7 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002131/0.7338, allocations: 180.6 kB / 0.8892 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.581/2.314, allocations: 0 / 0.8892 GB, free: 104.5 MB / 0.5417 GB (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1_fmu --startTime=0.1 --stopTime=30 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Utilities_Math_Examples_BesselY1.fmu > BuildingSystems_BuildingSystems.Utilities.Math.Examples.BesselY1.pipe 2>&1)